OSDN Git Service

Be more strict with the malloc implementation. Return NULL
authorEric Andersen <andersen@codepoet.org>
Wed, 25 Apr 2001 16:09:48 +0000 (16:09 -0000)
committerEric Andersen <andersen@codepoet.org>
Wed, 25 Apr 2001 16:09:48 +0000 (16:09 -0000)
commit03938380c0e658f55f1df412f2d482f5000f45a6
treef4b9ad1dc6199876f9494637d28ecc74de47bea0
parent3272f0e747a1b9c5305c206d47aab96f7ae5a9c3
Be more strict with the malloc implementation.  Return NULL
when folks do a malloc(0) using malloc-simple.
 -Erik
libc/stdlib/malloc-simple/alloc.c