use g_try_malloc and return error on not-enough-memory
[platform/upstream/glib.git] / ChangeLog
index 18d66c1..b00cca9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>.