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 /environment.c | |
parent | 57590c72b4d3b02e32732c7d79514c0281d6c2b5 (diff) | |
download | git-ef/setenv-putenv.tar.gz |
compat/setenv.c: error if name contains '='ef/setenv-putenv
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 'environment.c')
0 files changed, 0 insertions, 0 deletions