summaryrefslogtreecommitdiff
path: root/t/unit-tests
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2024-04-16 22:16:05 +0200
committerJunio C Hamano <gitster@pobox.com>2024-04-16 13:38:35 -0700
commit20fee9af9e511a9086aa02992bd27035b914ee14 (patch)
tree0eff543690e73a8c01534ac4bebc13b0d0d2e820 /t/unit-tests
parent548fe35913139eba2981be718f7b4dff7d0412d5 (diff)
apply: avoid using fixed-size buffer in write_out_one_reject()
On some systems PATH_MAX is not a hard limit. Support longer paths by building them on the heap instead of using static buffers. Take care to work around (arguably buggy) implementations of free(3) that change errno by calling it only after using the errno value. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests')
0 files changed, 0 insertions, 0 deletions