OSDN Git Service

Per suggestion from Miles Bader, move calloc.c to libc/stdlib.
authorEric Andersen <andersen@codepoet.org>
Wed, 7 Aug 2002 07:57:49 +0000 (07:57 -0000)
committerEric Andersen <andersen@codepoet.org>
Wed, 7 Aug 2002 07:57:49 +0000 (07:57 -0000)
commit698d2c6803ac9f329c0f46aed89b385680b3a31e
tree59793ecae777f3d2a480bef1be1af4f39e76f9c6
parent99eb56df380e887832f121dc3680d4d7848a0050
Per suggestion from Miles Bader, move calloc.c to libc/stdlib.
Also, Manuel notices that I forgot to check for when nmemb=0,
which would result in a segfault, so fix that case as well.
 -Erik
libc/stdlib/Makefile
libc/stdlib/calloc.c [moved from libc/stdlib/malloc-930716/calloc.c with 86% similarity]
libc/stdlib/malloc-930716/Makefile
libc/stdlib/malloc/Makefile