diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2017-01-06 17:22:24 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-01-07 19:30:08 -0800 |
commit | 029443070a4e5b0290a2d09f3707bc486d84a961 (patch) | |
tree | 264eb5e2d4ae1ade17fd27aa68be1cdcbd047816 /abspath.c | |
parent | t5505: use "for-each-ref" to test for the non-existence of references (diff) | |
download | tgif-029443070a4e5b0290a2d09f3707bc486d84a961.tar.xz |
safe_create_leading_directories_const(): preserve errno
Some implementations of free() change errno (even thought they
shouldn't):
https://sourceware.org/bugzilla/show_bug.cgi?id=17924
So preserve the errno from safe_create_leading_directories() across the
call to free().
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'abspath.c')
0 files changed, 0 insertions, 0 deletions