1 $NetBSD: patch-ac,v 1.1.1.1 2007/01/26 16:36:29 minskim Exp $
3 --- config.c.orig 2006-08-26 09:02:14.000000000 +0200
5 @@ -285,11 +285,8 @@ int load_config_file(f_state *s)
7 /*Can't find a conf in the current directory
8 * So lets try the /usr/local/etc*/
10 - set_config_file(s, "/Program Files/foremost/foremost.conf");
12 - set_config_file(s, "/usr/local/etc/foremost.conf");
15 + set_config_file(s,CONFDIR "/" DEFAULT_CONFIG_FILE);
16 if ((f = fopen(get_config_file(s), "r")) == NULL)
18 print_error(s, get_config_file(s), strerror(errno));