31e81c339f
Foremost is a program to recover files based on their headers and footers. Foremost can work on image files, such as those generated by dd, Safeback, Encase, etc, or directly on a drive. The headers and footers are specified by a configuration file, so you can pick and choose which headers you want to look for.
18 lines
598 B
Text
18 lines
598 B
Text
$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));
|