diff options
author | Sverre Rabbelier <srabbelier@gmail.com> | 2010-03-28 00:42:48 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-03-28 09:26:16 -0700 |
commit | bb6ad28c23f05e1ea04e3f1c6b9b08cc070c5318 (patch) | |
tree | 5100e323dca019e8870cb3e86c20610e42aeebde /t/t5402-post-merge-hook.sh | |
parent | 0476228de500049804ae599f557658c3f9042ad0 (diff) | |
download | git-bb6ad28c23f05e1ea04e3f1c6b9b08cc070c5318.tar.gz |
fast-export: don't segfault when marks file cannot be opened
The error function only prints an error message, resulting in a
segfault if we later on try to fprintf to a NULL handle.
Fix this by using die_errno instead.
Signed-off-by: Sverre Rabbelier <srabbelier@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5402-post-merge-hook.sh')
0 files changed, 0 insertions, 0 deletions