Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Dec 2008 16:10:03 GMT
From:      Bruce Cran <bruce@cran.org.uk>
To:        freebsd-standards@FreeBSD.org
Subject:   Re: standards/62858: malloc(0) not C99 compliant
Message-ID:  <200812301610.mBUGA3Ph096108@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR standards/62858; it has been noted by GNATS.

From: Bruce Cran <bruce@cran.org.uk>
To: bug-followup@FreeBSD.org,stefan@fafoe.narf.at, phk@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812301610.mBUGA3Ph096108>