standards/62858: malloc(0) not C99 compliant
Bruce Cran
bruce at cran.org.uk
Tue Dec 30 16:10:06 UTC 2008
The following reply was made to PR standards/62858; it has been noted by GNATS.
From: Bruce Cran <bruce at cran.org.uk>
To: bug-followup at FreeBSD.org,stefan at fafoe.narf.at, phk at freebsd.org
Cc:
Subject: Re: standards/62858: malloc(0) not C99 compliant
Date: Tue, 30 Dec 2008 16:06:21 +0000
It appears that with jemalloc in 7.0 onwards, the behaviour has changed
and is now C99 compliant: malloc(0) returns a unique pointer that
increments by 2 bytes each time.
--
Bruce Cran
More information about the freebsd-standards
mailing list