Date: Fri, 30 Jun 2006 20:54:15 +0000 (UTC) From: Jason Evans <jasone@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdlib malloc.c Message-ID: <200606302054.k5UKsFkC085822@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jasone 2006-06-30 20:54:15 UTC FreeBSD src repository Modified files: lib/libc/stdlib malloc.c Log: Make the behavior of malloc(0) standards-compliant by getting rid of nil, and instead creating a small allocation for each malloc(0) call. The optional SysV compatibility behavior remains unchanged. Add a couple of assertions. Fix a couple of typos in error message strings. Revision Changes Path 1.128 +46 -48 src/lib/libc/stdlib/malloc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606302054.k5UKsFkC085822>