The return value of read() is signed. (#315273, Kjartan Maraas)
authorMatthias Clasen <mclasen@redhat.com>
Mon, 5 Sep 2005 17:55:11 +0000 (17:55 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 5 Sep 2005 17:55:11 +0000 (17:55 +0000)
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)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
glib/gkeyfile.c

index c6269aa..9d3cc77 100644 (file)
--- 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
@@ -20,7 +25,7 @@
 
        * glib/glib.symbols: 
        * glib/gquark.h: 
-       * glib/gdataset.c: 
+       * glib/gdataset.c: Add string interning functions.
 
 2005-08-28  Matthias Clasen  <mclasen@redhat.com>
 
index c6269aa..9d3cc77 100644 (file)
@@ -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
@@ -20,7 +25,7 @@
 
        * glib/glib.symbols: 
        * glib/gquark.h: 
-       * glib/gdataset.c: 
+       * glib/gdataset.c: Add string interning functions.
 
 2005-08-28  Matthias Clasen  <mclasen@redhat.com>
 
index c6269aa..9d3cc77 100644 (file)
@@ -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
@@ -20,7 +25,7 @@
 
        * glib/glib.symbols: 
        * glib/gquark.h: 
-       * glib/gdataset.c: 
+       * glib/gdataset.c: Add string interning functions.
 
 2005-08-28  Matthias Clasen  <mclasen@redhat.com>
 
index 69904f3..63469e2 100644 (file)
@@ -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];