From 1c0b68939937bed6fa8e3dd1e15337cd74aff33a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 5 Sep 2005 17:55:11 +0000 Subject: [PATCH] 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) --- ChangeLog | 7 ++++++- ChangeLog.pre-2-10 | 7 ++++++- ChangeLog.pre-2-12 | 7 ++++++- glib/gkeyfile.c | 2 +- 4 files changed, 19 insertions(+), 4 deletions(-) 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]; -- 2.7.4