Changes in storage_xml.c [47b571d:e0f9170]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
storage_xml.c
r47b571d re0f9170 30 30 #include "md5.h" 31 31 #include <glib/gstdio.h> 32 33 #if !GLIB_CHECK_VERSION(2,8,0)34 /* GLib < 2.8.0 doesn't have g_access, so just use the system access(). */35 #define g_access access36 #endif37 32 38 33 typedef enum … … 251 246 if( ! g_file_test( global.conf->configdir, G_FILE_TEST_EXISTS ) ) 252 247 log_message( LOGLVL_WARNING, "The configuration directory `%s' does not exist. Configuration won't be saved.", global.conf->configdir ); 253 else if( ! g_file_test( global.conf->configdir, G_FILE_TEST_EXISTS ) || 254 g_access( global.conf->configdir, W_OK ) != 0 ) 248 else if( ! g_file_test( global.conf->configdir, G_FILE_TEST_EXISTS ) || g_access( global.conf->configdir, W_OK ) != 0 ) 255 249 log_message( LOGLVL_WARNING, "Permission problem: Can't read/write from/to `%s'.", global.conf->configdir ); 256 250 }
Note: See TracChangeset
for help on using the changeset viewer.