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/gkeyfile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/Sametime/src/glib/gkeyfile.c') diff --git a/protocols/Sametime/src/glib/gkeyfile.c b/protocols/Sametime/src/glib/gkeyfile.c index 10ca2a2afd..fa20c5a8b4 100644 --- a/protocols/Sametime/src/glib/gkeyfile.c +++ b/protocols/Sametime/src/glib/gkeyfile.c @@ -415,7 +415,7 @@ g_key_file_load_from_fd (GKeyFile *key_file, do { - bytes_read = read (fd, read_buf, 4096); + bytes_read = _read(fd, read_buf, 4096); if (bytes_read == 0) /* End of File */ break; @@ -492,7 +492,7 @@ g_key_file_load_from_file (GKeyFile *key_file, } g_key_file_load_from_fd (key_file, fd, flags, &key_file_error); - close (fd); + _close(fd); if (key_file_error) { @@ -617,7 +617,7 @@ g_key_file_load_from_dirs (GKeyFile *key_file, found_file = g_key_file_load_from_fd (key_file, fd, flags, &key_file_error); - close (fd); + _close(fd); if (key_file_error) { -- cgit v1.2.3