diff options
author | wlemb <wlemb> | 2000-11-22 22:11:16 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2000-11-22 22:11:16 +0000 |
commit | 1046f4b81acf3cf2b917b4409c373fe6278fc6be (patch) | |
tree | 01956c52cbed4bd0bc22676184739124e3da7292 /src/include | |
parent | 84b1d88c8adc19b3e308483bbc614620bfac4f6f (diff) | |
download | groff-1046f4b81acf3cf2b917b4409c373fe6278fc6be.tar.gz |
Use safer path (except for config files) if -U isn't specified. Add
a special macro path (without home and current directory) for config
files. Add home directory to unsafe path for consistency. Don't
include the home directory in the font path.
* src/lib/libgroff/macropath.cc: Add `config_macro_path', change
`macro_path'.
* src/include/macropath.h: Add `config_macrp_path'.
* src/lib/libgroff/fontfile.cc: Fix font path.
* src/roff/troff/input.cc (process_startup_file): Use
`config_macro_path'.
(main): Select unsafe path if -U is given.
* src/preproc/eqn/main.cc (main): Fixing search path for
configuration file.
* src/preproc/eqn/eqn.man: Updated.
* src/roff/troff/troff.man, man/roff.man, tmac/groff_tmac.man:
Updated.
* src/preproc/grn/grn.man, src/devices/grodvi/grodvi.man,
src/devices/grohtml/grohtml.man, src/devices/grolbp/grplbp.man,
src/devices/grolj4/grolj4.man, src/devices/grops/grops.man,
src/devices/grotty/grotty.man: Updated.
* Makefile.in: Fix comments.
src/roff/groff/groff.man, tmac/groff_tmac.man, arch/djgpp/README:
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/macropath.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/macropath.h b/src/include/macropath.h index 8db78f35..b4a2bd0c 100644 --- a/src/include/macropath.h +++ b/src/include/macropath.h @@ -20,3 +20,4 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ extern search_path macro_path; extern search_path safer_macro_path; +extern search_path config_macro_path; |