diff options
author | Erik Faye-Lund <kusmabite@gmail.com> | 2011-12-14 15:07:09 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-12-14 19:31:03 -0800 |
commit | 6ac1b2a3b8bd970e9fc175c42927f00d4d465bbf (patch) | |
tree | c833eace46cc906bf659f7f765ff410b0a24fb66 /compat/strtoimax.c | |
parent | compat/setenv.c: update errno when erroring out (diff) | |
download | tgif-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/strtoimax.c')
0 files changed, 0 insertions, 0 deletions