author | Jason Riedy <ejr@EECS.Berkeley.EDU> | |
Fri, 2 Dec 2005 23:08:28 +0000 (15:08 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 4 Dec 2005 06:25:25 +0000 (22:25 -0800) | ||
commit | e40b61fb6bd2e0ed2dc4799096fcf4c828c28d6d | |
tree | ca541b1dfabc72d7ded00cdf15fbe6ad627e3ac8 | tree | snapshot |
parent | 7057463463ad01266db264acf7e7b5e95e7b4ecf | commit | diff |
Add compat/setenv.c, use in git.c.
There is no setenv() in Solaris 5.8. The trivial calls to
setenv() were replaced by putenv() in a much earlier patch,
but setenv() was used again in git.c. This patch just adds
a compat/setenv.c.
The rule for building git$(X) also needs to include compat.
objects and compiler flags. Those are now in makefile vars
COMPAT_OBJS and COMPAT_CFLAGS.
Signed-off-by: E. Jason Riedy <ejr@cs.berkeley.edu>
Signed-off-by: Junio C Hamano <junkio@cox.net>
There is no setenv() in Solaris 5.8. The trivial calls to
setenv() were replaced by putenv() in a much earlier patch,
but setenv() was used again in git.c. This patch just adds
a compat/setenv.c.
The rule for building git$(X) also needs to include compat.
objects and compiler flags. Those are now in makefile vars
COMPAT_OBJS and COMPAT_CFLAGS.
Signed-off-by: E. Jason Riedy <ejr@cs.berkeley.edu>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile | diff | blob | history | |
compat/setenv.c | [new file with mode: 0644] | blob |
git.c | diff | blob | history |