make malloc(0) return unique pointers rather than NULL
authorRich Felker <dalias@aerifal.cx>
Sun, 20 Feb 2011 21:16:33 +0000 (16:16 -0500)
committerRich Felker <dalias@aerifal.cx>
Sun, 20 Feb 2011 21:16:33 +0000 (16:16 -0500)
this change is made with some reluctance, but i think it's for the
best. correct programs must handle either behavior, so there is little
advantage to having malloc(0) return NULL. and i managed to actually
make the malloc code slightly smaller with this change.


No differences found