Subject: Re: [PATCH] Add compat/setenv.c, use in git.c.

From: Jason Riedy <[email-masked]>
Date: Mon, 05 Dec 2005 10:07:17 -0800

And Junio C Hamano writes:
 - putenv(3) says
 - 	The string pointed to by string becomes part of the environment,
 - 	so altering the string changes the environment.

Good catch, thanks.  The Solaris man page first says the 
string space is "no longer used", but at the very end warns 
against using an automatic variable.  Chalk one up for lousy 
docs.

(And sizeof(char) is just habit; 99% of my mallocs aren't of 
char...  Sorry.)

Jason