From: <pa...@us...> - 2003-10-06 15:30:31
|
Update of /cvsroot/fuse-emulator/fuse In directory sc8-pr-cvs1:/tmp/cvs-serv23771 Modified Files: settings.pl Log Message: Change config file name to 'fuse.cfg' on Win32. Index: settings.pl =================================================================== RCS file: /cvsroot/fuse-emulator/fuse/settings.pl,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -d -r1.52 -r1.53 *** settings.pl 18 Aug 2003 21:59:46 -0000 1.52 --- settings.pl 6 Oct 2003 15:30:25 -0000 1.53 *************** *** 95,98 **** --- 95,105 ---- #include "ui/ui.h" + /* The name of our configuration file */ + #ifdef WIN32 + #define CONFIG_FILE_NAME "fuse.cfg" + #else /* #ifdef WIN32 */ + #define CONFIG_FILE_NAME ".fuserc" + #endif /* #ifdef WIN32 */ + /* The current settings of options, etc */ settings_info settings_current; *************** *** 187,191 **** } ! snprintf( path, 256, "%s/.fuserc", home ); /* See if the file exists; if doesn't, it's not a problem */ --- 194,198 ---- } ! snprintf( path, 256, "%s/%s", home, CONFIG_FILE_NAME ); /* See if the file exists; if doesn't, it's not a problem */ *************** *** 290,294 **** } ! snprintf( path, 256, "%s/.fuserc", home ); /* Create the XML document */ --- 297,301 ---- } ! snprintf( path, 256, "%s/%s", home, CONFIG_FILE_NAME ); /* Create the XML document */ |