malloc: bug or feature ?

Marc Olzheim marcolz at stack.nl
Wed Apr 7 06:00:16 PDT 2004


On Wed, Apr 07, 2004 at 02:55:32PM +0200, Marc Olzheim wrote:
> On Wed, Apr 07, 2004 at 02:39:53PM +0200, Georges-Andre Silber wrote:
> > Is it a 'normal' behaviour of malloc()? Shouldn't malloc() return NULL?
> 
> It should return NULL indeed. I can reproduce this on my -CURRENT
> machine, while 5.2.1-RELEASE is ok.

Erhm to be more precise: a 32-bit 5.2.1-RELEASE binary runs ok on both
i386 and amd64 -CURRENT, but a 64-bit -CURRENT binary doesn't.

Marc


More information about the freebsd-amd64 mailing list