Don't assume realloc() can handle NULL pointers (backport from trunk)
[mmh] / ChangeLog
index bc17950..507c457 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2008-05-21  Peter Maydell  <pmaydell@chiark.greenend.org.uk>
+
+       * sbr/utils.c (mh_xrealloc): don't assume realloc() can
+       handle NULL pointers; some non-POSIX realloc()s can't.
+       (Ported from trunk.)
+
+       * sbr/dtimep.lex: add some table size declarations for the
+       benefit of elderly lexes with small defaults. (Ported from
+       trunk.)
+
 2008-05-21  David Levine <levinedl@acm.org>
 
        * configure.in, INSTALL: if --enable-masquerade is not