Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 May 2000 22:10:02 -0700 (PDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/10342: putenv(3) unnecessarily calls strdup/free
Message-ID:  <200005090510.WAA63809@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/10342; it has been noted by GNATS.

From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To: "Rodney W. Grimes" <rgrimes@gndrsh.dnsmgr.net>
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)

 <<On Wed, 26 Jan 2000 17:40:02 -0800 (PST), "Rodney W. Grimes" <rgrimes@gndrsh.dnsmgr.net> 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




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