From owner-cvs-lib Fri Sep 27 09:43:34 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA05197 for cvs-lib-outgoing; Fri, 27 Sep 1996 09:43:34 -0700 (PDT) Received: from critter.tfs.com ([140.145.230.177]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id JAA05142; Fri, 27 Sep 1996 09:43:25 -0700 (PDT) Received: from critter.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.7.5/8.7.3) with ESMTP id SAA02039; Fri, 27 Sep 1996 18:42:36 +0200 (MET DST) To: Peter Wemm cc: Poul-Henning Kamp , 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 In-reply-to: Your message of "Sat, 28 Sep 1996 00:21:19 +0800." <199609271621.AAA02472@spinner.DIALix.COM> Date: Fri, 27 Sep 1996 18:42:36 +0200 Message-ID: <2037.843842556@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In message <199609271621.AAA02472@spinner.DIALix.COM>, Peter Wemm writes: >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! Well, in the general case you may not be able to, but I wrote malloc, remember ? I can! phkmalloc will notice and respect independent use of sbrk(2) :-) -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so.