Mercurial > pidgin
changeset 12622:b7860c9902f2
[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 <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Thu, 22 Dec 2005 14:58:45 +0000 |
parents | 8aa0a62cf080 |
children | 70f18c73da9d |
files | src/util.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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))