author | Jason Riedy <ejr@cs.berkeley.edu> | |
Tue, 23 Aug 2005 20:52:01 +0000 (13:52 -0700) | ||
committer | Jason Riedy <ejr@cs.berkeley.edu> | |
Wed, 24 Aug 2005 03:41:12 +0000 (20:41 -0700) | ||
commit | e72a7d45dc67afa1328750d401ddd4dbeb2131d9 | |
tree | 72db691c81402c4e498a9236eeb3c316dbf0b1eb | tree | snapshot |
parent | 3cd6ecda4a02e943934885910feeba957b730123 | commit | diff |
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>
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 | diff | blob | history | |
receive-pack.c | diff | blob | history | |
upload-pack.c | diff | blob | history |