compat/setenv.c: update errno when erroring out
authorErik Faye-Lund <redacted>
Wed, 14 Dec 2011 14:07:08 +0000 (15:07 +0100)
committerJunio C Hamano <redacted>
Thu, 15 Dec 2011 03:30:41 +0000 (19:30 -0800)
commit57590c72b4d3b02e32732c7d79514c0281d6c2b5
treec2defaec51ac733b75adfed58d91b3072863c2c4
parent10dd3b2bf1444695416c0dac951297acf7d4e5e4
compat/setenv.c: update errno when erroring out

Previously, gitsetenv didn't update errno as it should when
erroring out. Fix this.

Signed-off-by: Erik Faye-Lund <redacted>
Signed-off-by: Junio C Hamano <redacted>
compat/setenv.c
git clone https://git.99rst.org/PROJECT