From ef3f477d42156b0c9994f1de3f85cf052448e52c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 22 Mar 2014 14:09:08 +0000 Subject: - project cleaning - warning fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@8687 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Sametime/src/glib/gfileutils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/Sametime/src/glib/gfileutils.c') 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; -- cgit v1.2.3