From b0a42f20581f7131ee10756571e20ee2a52d827f Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Tue, 18 Dec 2001 18:46:41 +0000 Subject: use g_try_malloc and return error on not-enough-memory 2001-12-16 Havoc Pennington * glib/gfileutils.c (get_contents_regfile): use g_try_malloc and return error on not-enough-memory (get_contents_stdio): ditto --- ChangeLog.pre-2-0 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ChangeLog.pre-2-0') 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 + + * 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 * glib/gspawn.c, glib/gspawn-win32.c: Use , not . -- cgit v1.2.3