Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2000 23:12:28 -0500 (EST)
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
Message-ID:  <200001270412.XAA16026@khavrinen.lcs.mit.edu>
In-Reply-To: <200001270140.RAA82747@freefall.freebsd.org>
References:  <200001270140.RAA82747@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
<<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




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