fast-import: Don't use a maybe-clobbered errno value
authorJim Meyering <jim@meyering.net>
Fri, 18 Jan 2008 18:35:49 +0000 (19:35 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 18 Jan 2008 21:19:37 +0000 (13:19 -0800)
commit5a7b1b571e2bf59c65f9e5333414d2e0f7df6952
treeae9455651613ebb01ea00b7edfa53c7615ca3738
parent181256442ec1b09d0095e009922e109aa0a4af5e
fast-import: Don't use a maybe-clobbered errno value

Without this change, each diagnostic could use an errno value
clobbered by the close or unlink in rollback_lock_file.

Signed-off-by: Jim Meyering <meyering@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
fast-import.c