On Tue, 28 Sep 2010, Brad Jorsch wrote:

 > > do we really expect these to change runtime?
 > 
 > No, but you can't rely on the value returned by getenv to remain valid
 > after the next call to getenv. To quote the manpage:
 > 
 >   The implementation of getenv() is not required to be reentrant. The
 >   string pointed to by the return value of getenv() may be statically
 >   allocated, and can be modified by a subsequent call to getenv(),
 >   putenv(3), setenv(3), or unsetenv(3).
 > 
 > The same goes for getpwuid, although I see there you do strdup the
 > result.

ugh, except in a few cases where i forgot.

fix coming up soon, thanks.

-- 
[-]

mkdir /nonexistent


-- 
To unsubscribe, send mail to [email protected].

Reply via email to