From: Matthias Clasen Date: Mon, 5 Sep 2005 17:55:11 +0000 (+0000) Subject: The return value of read() is signed. (#315273, Kjartan Maraas) X-Git-Tag: GLIB_2_9_0~74 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1c0b68939937bed6fa8e3dd1e15337cd74aff33a;p=platform%2Fupstream%2Fglib.git The return value of read() is signed. (#315273, Kjartan Maraas) 2005-09-05 Matthias Clasen * glib/gkeyfile.c (g_key_file_load_from_fd): The return value of read() is signed. (#315273, Kjartan Maraas) --- diff --git a/ChangeLog b/ChangeLog index c6269aa..9d3cc77 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-09-05 Matthias Clasen + + * glib/gkeyfile.c (g_key_file_load_from_fd): The return value + of read() is signed. (#315273, Kjartan Maraas) + 2005-08-31 Tor Lillqvist * 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 diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index c6269aa..9d3cc77 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2005-09-05 Matthias Clasen + + * glib/gkeyfile.c (g_key_file_load_from_fd): The return value + of read() is signed. (#315273, Kjartan Maraas) + 2005-08-31 Tor Lillqvist * 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 diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index c6269aa..9d3cc77 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,8 @@ +2005-09-05 Matthias Clasen + + * glib/gkeyfile.c (g_key_file_load_from_fd): The return value + of read() is signed. (#315273, Kjartan Maraas) + 2005-08-31 Tor Lillqvist * 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 diff --git a/glib/gkeyfile.c b/glib/gkeyfile.c index 69904f3..63469e2 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];