summaryrefslogtreecommitdiff
path: root/compat/unsetenv.c
diff options
context:
space:
mode:
authorLibravatar Erik Faye-Lund <kusmabite@gmail.com>2011-12-14 15:07:09 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-12-14 19:31:03 -0800
commit6ac1b2a3b8bd970e9fc175c42927f00d4d465bbf (patch)
treec833eace46cc906bf659f7f765ff410b0a24fb66 /compat/unsetenv.c
parentcompat/setenv.c: update errno when erroring out (diff)
downloadtgif-6ac1b2a3b8bd970e9fc175c42927f00d4d465bbf.tar.xz
compat/setenv.c: error if name contains '='
According to POSIX, setenv should error out with EINVAL if it's asked to set an environment variable whose name contains an equals sign. Implement this detail in our compatibility-fallback. Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/unsetenv.c')
0 files changed, 0 insertions, 0 deletions