Mercurial > hg > octave-nkf > gnulib-hg
changeset 5467:4802c062858b
realloc, calloc portability fixes.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Wed, 17 Nov 2004 23:07:53 +0000 |
parents | 19276ed23d4a |
children | c36e258078c9 |
files | lib/ChangeLog |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
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".