From owner-freebsd-current Fri Aug 7 12:05:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA28618 for freebsd-current-outgoing; Fri, 7 Aug 1998 12:05:52 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from critter.freebsd.dk (critter.freebsd.dk [195.8.133.1] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA28609 for ; Fri, 7 Aug 1998 12:05:35 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.5) with ESMTP id VAA03226; Fri, 7 Aug 1998 21:01:52 +0200 (CEST) To: Archie Cobbs cc: wollman@khavrinen.lcs.mit.edu (Garrett Wollman), freebsd-current@FreeBSD.ORG, bde@zeta.org.au, dg@root.com Subject: Re: memory leaks in libc In-reply-to: Your message of "Fri, 07 Aug 1998 10:12:48 PDT." <199808071712.KAA29716@bubba.whistle.com> Date: Fri, 07 Aug 1998 21:01:52 +0200 Message-ID: <3224.902516512@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199808071712.KAA29716@bubba.whistle.com>, Archie Cobbs writes: >Garrett Wollman writes: >> >> malloc() is simple enough. It would solve the problem for programs >> >> than need it (a real world example of which exists at Whistle). >> >> > OK, just to prove I'm not lazy... try this. >> >> Now having gone to that effort, you can just add it to your program >> that needs it, and we don't have to bear the kluge in the C library. > >I just don't understand where you're coming from. There is a clear >bug in the standard library, we agree on this right? You are saying >that it's not worth fixing, because... I think there is agreement that a bogus API was defined long time ago, and since getting rid of that API not worth even discussing, this entire thread is a waste of time. Summary: Yes, there is a memoryleak associated with use of this API, if that is unacceptable for your application then don't use this API. Would this thread please DROP DEAD preferably RIGHT NOW! THANKYOU! -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." "ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message