1 --- sane-backends-1.0.4/tools/mustek600iin-off.c.orig Mon Aug 9 20:06:01 1999
2 +++ sane-backends-1.0.4/tools/mustek600iin-off.c Sat Feb 10 20:29:19 2001
4 #include "../include/sane/config.h"
5 #include "../include/sane/sanei.h"
7 -#define MUSTEK_CONF STRINGIFY(PATH_SANE_CONFIG_DIR) "/mustek.conf"
8 +#define MUSTEK_CONF "/etc/sane.d/mustek.conf"
9 #define PORT_DEV "/dev/port"
16 - /* get config file name from environment if variable is set */
17 - if (NULL != (cp = getenv ("MUSTEK_CONF")))
22 /* if port is explicitly given, try this one */
25 portaddr = str2int (argv[1]);
27 /* else try to look it up from SANE's mustek.conf file */
28 - else if (NULL != (fp = fopen (MUSTEK_CONF, "r")))
29 + else if (NULL != (fp = fopen (Mustek_Conf, "r")))