# HG changeset patch # User Daniel Atallah # Date 1135263525 0 # Node ID b7860c9902f2b37208ac61745880d3a538da67ec # Parent 8aa0a62cf080ad054610f18c1c9b13cedf551164 [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). committer: Tailor Script diff -r 8aa0a62cf080 -r b7860c9902f2 src/util.c --- 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))