Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 1996 02:48:04 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        peter@spinner.DIALix.COM, phk@freefall.freebsd.org
Cc:        cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-lib@freefall.freebsd.org
Subject:   Re: cvs commit: src/lib/libc/stdlib atexit.c src/lib/libc/sys brk.2
Message-ID:  <199609271648.CAA30883@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>>   Modified:    lib/libc/stdlib  atexit.c
>>                lib/libc/sys  brk.2
>>   Log:
>>   Don't use malloc, pessimize to use sbrk.
>>   fix sbrk manpage while we're at it.
>
>Umm, you can't do this!  If you use sbrk(), you are preventing the future 
>use of malloc(), as you *cannot* intermix the use of sbrk() and malloc() 
>in the same program!

The author of malloc can intermix them :-).  Are there problems with old
versions?

Bruce



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