From: Erik Faye-Lund Date: Wed, 14 Dec 2011 14:07:09 +0000 (+0100) Subject: compat/setenv.c: error if name contains '=' X-Git-Tag: v1.7.8.2~10^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/6ac1b2a3b8bd970e9fc175c42927f00d4d465bbf?hp=6ac1b2a3b8bd970e9fc175c42927f00d4d465bbf 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 Signed-off-by: Junio C Hamano ---