From 1046f4b81acf3cf2b917b4409c373fe6278fc6be Mon Sep 17 00:00:00 2001 From: wlemb Date: Wed, 22 Nov 2000 22:11:16 +0000 Subject: 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: --- src/include/macropath.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include') 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; -- cgit v1.2.1