summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-09-05 17:56:57 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-09-05 17:56:57 +0000
commit08710ea18713997f49724733c49276bbaa2fbc84 (patch)
tree7b78e61f0a0b412020e8dbb16658de35fd05aad7
parent3e70e826c56c3ea99af2807c64f5d5eb7e4d59a0 (diff)
downloadglib-08710ea18713997f49724733c49276bbaa2fbc84.tar.gz
The return value of read() is signed. (#315273, Kjartan Maraas)
2005-09-05 Matthias Clasen <mclasen@redhat.com> * glib/gkeyfile.c (g_key_file_load_from_fd): The return value of read() is signed. (#315273, Kjartan Maraas)
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.pre-2-105
-rw-r--r--ChangeLog.pre-2-125
-rw-r--r--glib/gkeyfile.c2
4 files changed, 16 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 01cd10cd1..4d7395599 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-09-05 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gkeyfile.c (g_key_file_load_from_fd): The return value
+ of read() is signed. (#315273, Kjartan Maraas)
+
2005-08-31 Tor Lillqvist <tml@novell.com>
* glib/gutils.h: Wrapping atexit() is a bad idea on Windows, where
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 01cd10cd1..4d7395599 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,8 @@
+2005-09-05 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gkeyfile.c (g_key_file_load_from_fd): The return value
+ of read() is signed. (#315273, Kjartan Maraas)
+
2005-08-31 Tor Lillqvist <tml@novell.com>
* glib/gutils.h: Wrapping atexit() is a bad idea on Windows, where
diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12
index 01cd10cd1..4d7395599 100644
--- a/ChangeLog.pre-2-12
+++ b/ChangeLog.pre-2-12
@@ -1,3 +1,8 @@
+2005-09-05 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gkeyfile.c (g_key_file_load_from_fd): The return value
+ of read() is signed. (#315273, Kjartan Maraas)
+
2005-08-31 Tor Lillqvist <tml@novell.com>
* glib/gutils.h: Wrapping atexit() is a bad idea on Windows, where
diff --git a/glib/gkeyfile.c b/glib/gkeyfile.c
index 69904f3f4..63469e297 100644
--- a/glib/gkeyfile.c
+++ b/glib/gkeyfile.c
@@ -355,7 +355,7 @@ g_key_file_load_from_fd (GKeyFile *key_file,
GError **error)
{
GError *key_file_error = NULL;
- gsize bytes_read;
+ gssize bytes_read;
struct stat stat_buf;
gchar read_buf[4096];