[Bug 283] man.conf location

bugzilla at linuxfromscratch.org bugzilla at linuxfromscratch.org
Sat Mar 9 15:35:26 PST 2002


http://bugs.linuxfromscratch.org/show_bug.cgi?id=283





------- Additional Comments From markh at linuxfromscratch.org  2002-03-09 15:35 -------
I know this has been closed but I just wanted to check this with you all.  
(Note, I wrote this in between Gerard assigning the bug and closing it ;-))

just for the record; this is the relevant code I believe:

from src/man-config.c

char *default_config_files[] = {
     CONFIG_FILE,               /* compiled-in default */
     "/etc/man.conf", "/etc/man.config",
     "/usr/lib/man.conf", "/usr/lib/man.config",
     "/usr/share/misc/man.conf", "/usr/share/misc/man.config"
};

CONFIG_FILE gets defined in paths.h (from paths.h.in) as:
#ifndef CONFIG_FILE
#define CONFIG_FILE "/usr/share/misc/man.conf"
#endif

so we can either just make sure we move the file away or alternatively 
couldn't we just pass a -D option in or sed paths.h to make it more correct?
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-book' in the subject header of the message



More information about the lfs-book mailing list