Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 1996 00:21:19 +0800
From:      Peter Wemm <peter@spinner.DIALix.COM>
To:        Poul-Henning Kamp <phk@freefall.freebsd.org>
Cc:        CVS-committers@freefall.freebsd.org, cvs-all@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:  <199609271621.AAA02472@spinner.DIALix.COM>
In-Reply-To: Your message of "Fri, 27 Sep 1996 08:34:29 MST." <199609271534.IAA26097@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp wrote:
> phk         96/09/27 08:34:27
> 
>   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!

Cheers,
-Peter





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