On Tue, May 07, 2013 at 12:43:48AM -0400, Ted Unangst wrote:
> If growing the current region fails, realloc will leave errno set,
> even though the function will eventually succeed.
(Late reply because I was away on vacation)
I don't think this is correct. realloc itself already takes care of th
If growing the current region fails, realloc will leave errno set,
even though the function will eventually succeed.
Index: stdlib/malloc.c
===
RCS file: /cvs/src/lib/libc/stdlib/malloc.c,v
retrieving revision 1.149
diff -u -p -r1.149