Replace unsetenv() and setenv() with older putenv().
authorJason Riedy <ejr@cs.berkeley.edu>
Tue, 23 Aug 2005 20:52:01 +0000 (13:52 -0700)
committerJason Riedy <ejr@cs.berkeley.edu>
Wed, 24 Aug 2005 03:41:12 +0000 (20:41 -0700)
commite72a7d45dc67afa1328750d401ddd4dbeb2131d9
tree72db691c81402c4e498a9236eeb3c316dbf0b1eb
parent3cd6ecda4a02e943934885910feeba957b730123
Replace unsetenv() and setenv() with older putenv().

Solaris 8 doesn't have the newer unsetenv() and setenv()
functions, so replace them with putenv().  The one use of
unsetenv() in fsck-cache.c now sets GIT_ALTERNATE_OBJECT_
DIRECTORIES to the empty string.  Every place that var
is used, NULLs are also replaced with empty strings, so
it's ok.

Signed-off-by: Jason Riedy <ejr@cs.berkeley.edu>
fsck-cache.c
receive-pack.c
upload-pack.c