diff options
author | Erik Faye-Lund <kusmabite@gmail.com> | 2010-11-23 20:53:08 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-11-23 16:08:01 -0800 |
commit | e93368d26ebcf69698b8454afb85c9c84bd54363 (patch) | |
tree | 5d49188551adc03bf69e0053cb4883d6afee3050 /git-send-email.perl | |
parent | 1c7d402b3e1e9d7e50abfbfb18c88bc79be468ea (diff) | |
download | git-e93368d26ebcf69698b8454afb85c9c84bd54363.tar.gz |
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>
Diffstat (limited to 'git-send-email.perl')
0 files changed, 0 insertions, 0 deletions