summaryrefslogtreecommitdiff
path: root/http.h
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2017-01-06 17:22:25 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-01-07 19:30:08 -0800
commit204a047f23462e4931eb00c367818d9870237827 (patch)
tree73b6d90e28f537ffe36ca8f8b3627aba14da6329 /http.h
parentsafe_create_leading_directories_const(): preserve errno (diff)
downloadtgif-204a047f23462e4931eb00c367818d9870237827.tar.xz
safe_create_leading_directories(): set errno on SCLD_EXISTS
The exit path for SCLD_EXISTS wasn't setting errno, which some callers use to generate error messages for the user. Fix the problem and document that the function sets errno correctly to help avoid similar regressions in the future. 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 'http.h')
0 files changed, 0 insertions, 0 deletions