Mercurial > hg > octave-lojdl > gnulib-hg
diff lib/ChangeLog @ 5467:4802c062858b
realloc, calloc portability fixes.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Wed, 17 Nov 2004 23:07:53 +0000 |
parents | e88a820ff3bb |
children | f8136ad2eda3 |
line wrap: on
line diff
--- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,10 @@ +2004-11-17 Paul Eggert <eggert@cs.ucla.edu> + + * realloc.c (rpl_realloc): Call 'free' if n==0, since realloc + might fail. Problem reported by Yoann Vandoorselaere. + * calloc.c (rpl_calloc): Defend against buggy calloc implementations + that mishandle size_t overflow. + 2004-11-16 Paul Eggert <eggert@cs.ucla.edu> * canon-host.c: Include "strdup.h".