From owner-freebsd-bugs Tue Jun 20 11:40: 8 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 5448837BFAE for ; Tue, 20 Jun 2000 11:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA91442; Tue, 20 Jun 2000 11:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Tue, 20 Jun 2000 11:40:02 -0700 (PDT) Message-Id: <200006201840.LAA91442@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: David Malone Subject: Re: misc/19406: setenv() allocates memory which is not freed by unsetenv() Reply-To: David Malone Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/19406; it has been noted by GNATS. From: David Malone To: Phil Pennock Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: misc/19406: setenv() allocates memory which is not freed by unsetenv() Date: Tue, 20 Jun 2000 19:36:25 +0100 On Tue, Jun 20, 2000 at 08:28:13PM +0200, Phil Pennock wrote: > Anyone want to think how many old programs depend on some buggy aspect of the > memory allocation involved here? I believe this is required by some spec (probably POSIX), and has been discussed several times on the FreeBSD lists. I think the conclusion was that the current implimentation was correct. See: http://www.FreeBSD.org/cgi/query-pr.cgi?pr=5604 http://www.FreeBSD.org/cgi/query-pr.cgi?pr=10341 David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message