Thu, 22 Dec 2005 14:58:45 +0000
[gaim-migrate @ 14958]
This will prevent error messages when the gaim_user_dir is non-ASCII (the call doesn't actually do anything on win32 anyway).
| src/util.c | file | annotate | diff | comparison | revisions |
--- a/src/util.c Thu Dec 22 13:56:18 2005 +0000 +++ b/src/util.c Thu Dec 22 14:58:45 2005 +0000 @@ -2098,12 +2098,14 @@ return FALSE; } +#ifndef _WIN32 /* Set file permissions */ if (chmod(filename_temp, S_IRUSR | S_IWUSR) == -1) { gaim_debug_error("util", "Error setting permissions of file %s: %s\n", filename_temp, strerror(errno)); } +#endif /* Remove the old file, if it exists */ if (g_file_test(filename_full, G_FILE_TEST_EXISTS))