diff options
author | Havoc Pennington <hp@pobox.com> | 2001-12-18 18:46:41 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2001-12-18 18:46:41 +0000 |
commit | b0a42f20581f7131ee10756571e20ee2a52d827f (patch) | |
tree | e967c7e80e16df31f9faa2e04d04cc97a730bc13 /ChangeLog.pre-2-0 | |
parent | 7a1088bc50cfa61cef538937f8ebba46cb52ca02 (diff) |
use g_try_malloc and return error on not-enough-memory
2001-12-16 Havoc Pennington <hp@pobox.com>
* glib/gfileutils.c (get_contents_regfile): use g_try_malloc and
return error on not-enough-memory
(get_contents_stdio): ditto
Diffstat (limited to 'ChangeLog.pre-2-0')
-rw-r--r-- | ChangeLog.pre-2-0 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 18d66c191..b00cca904 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,9 @@ +2001-12-16 Havoc Pennington <hp@pobox.com> + + * glib/gfileutils.c (get_contents_regfile): use g_try_malloc and + return error on not-enough-memory + (get_contents_stdio): ditto + 2001-12-17 Matthias Clasen <matthiasc@poet.de> * glib/gspawn.c, glib/gspawn-win32.c: Use <envar>, not <envvar>. |