Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • storage_xml.c

    r47b571d re0f9170  
    3030#include "md5.h"
    3131#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 access
    36 #endif
    3732
    3833typedef enum
     
    251246        if( ! g_file_test( global.conf->configdir, G_FILE_TEST_EXISTS ) )
    252247                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 )
    255249                log_message( LOGLVL_WARNING, "Permission problem: Can't read/write from/to `%s'.", global.conf->configdir );
    256250}
Note: See TracChangeset for help on using the changeset viewer.