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