From owner-freebsd-bugs Mon May 8 22:10: 5 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 A031437BDF3 for ; Mon, 8 May 2000 22:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA63809; Mon, 8 May 2000 22:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Mon, 8 May 2000 22:10:02 -0700 (PDT) Message-Id: <200005090510.WAA63809@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Garrett Wollman Subject: Re: bin/10342: putenv(3) unnecessarily calls strdup/free Reply-To: Garrett Wollman Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/10342; it has been noted by GNATS. From: Garrett Wollman To: "Rodney W. Grimes" Cc: freebsd-bugs@FreeBSD.org Subject: Re: bin/10342: putenv(3) unnecessarily calls strdup/free Date: Wed, 26 Jan 2000 23:12:28 -0500 (EST) < said: > Looking at implementation is probably not a good idea, as that may > change. Also depending on behavior not in Posix may cause problems > down the road. Which is why portable programs must not use setenv(), which is not a POSIX interface (nor is it in SUSv2). -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message