diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-22 14:09:08 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-22 14:09:08 +0000 |
commit | ef3f477d42156b0c9994f1de3f85cf052448e52c (patch) | |
tree | d776b22042f2a68dd2d085148389cb358dd343b2 /protocols/Sametime/src/glib/gfileutils.c | |
parent | dbc42a362991cff4ec4a7499b95b36167ebb43d0 (diff) |
- project cleaning
- warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@8687 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Sametime/src/glib/gfileutils.c')
-rw-r--r-- | protocols/Sametime/src/glib/gfileutils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Sametime/src/glib/gfileutils.c b/protocols/Sametime/src/glib/gfileutils.c index 185a756dcd..6965cbf020 100644 --- a/protocols/Sametime/src/glib/gfileutils.c +++ b/protocols/Sametime/src/glib/gfileutils.c @@ -904,7 +904,7 @@ write_to_temp_file (const gchar *contents, } errno = 0; - file = fdopen (fd, "wb"); + file = _fdopen(fd, "wb"); if (!file) { save_errno = errno; @@ -915,7 +915,7 @@ write_to_temp_file (const gchar *contents, display_name, g_strerror (save_errno)); - close (fd); + _close(fd); g_unlink (tmp_name); goto out; @@ -1974,7 +1974,7 @@ g_mkstemp (gchar *tmpl) /* This is the backward compatibility system codepage version, * thus use normal open(). */ - fd = open (tmpl, O_RDWR | O_CREAT | O_EXCL | O_BINARY, 0600); + fd = _open(tmpl, O_RDWR | O_CREAT | O_EXCL | O_BINARY, 0600); if (fd >= 0) return fd; |