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)
This commit is contained in:
Matthias Clasen 2005-09-05 17:55:11 +00:00 committed by Matthias Clasen
parent c05c2782ea
commit 1c0b689399
4 changed files with 19 additions and 4 deletions

View 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>

View 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>

View 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>

View 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];