1
0
mirror of https://github.com/git/git.git synced 2025-03-22 03:16:42 +00:00
Erik Faye-Lund e93368d26e mingw: do not set errno to 0 on success
Currently do_lstat always sets errno to 0 on success. This incorrectly
overwrites previous errors.

Fetch the error-code into a temporary variable instead, and assign that
to errno on failure.

Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2010-11-23 16:08:01 -08:00
..
2010-06-21 06:02:45 -07:00
2009-04-22 19:03:39 -07:00
2008-09-30 14:30:06 -07:00
2009-03-02 18:28:06 -08:00
2010-06-21 06:02:45 -07:00
2007-06-07 00:04:01 -07:00
2009-09-18 20:00:42 -07:00
2010-08-14 19:35:38 -07:00
2009-09-18 20:00:42 -07:00