diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-09-05 17:56:57 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-09-05 17:56:57 +0000 |
commit | 08710ea18713997f49724733c49276bbaa2fbc84 (patch) | |
tree | 7b78e61f0a0b412020e8dbb16658de35fd05aad7 | |
parent | 3e70e826c56c3ea99af2807c64f5d5eb7e4d59a0 (diff) | |
download | glib-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-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-12 | 5 | ||||
-rw-r--r-- | glib/gkeyfile.c | 2 |
4 files changed, 16 insertions, 1 deletions
@@ -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]; |