compat/setenv.c: update errno when erroring out
authorErik Faye-Lund <kusmabite@gmail.com>
Wed, 14 Dec 2011 14:07:08 +0000 (15:07 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Dec 2011 03:30:41 +0000 (19:30 -0800)
Previously, gitsetenv didn't update errno as it should when
erroring out. Fix this.

Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found