index a15254a118e83ba4b5f4e38df6e02e2dcf6f0778..72bdc3928b2b401e714d9a405982dab605787c74 100644 (file)
{
WriteHead(AH);
tpos = ftello(AH->FH);
- if (tpos < 0 || errno)
+ if (tpos < 0)
exit_horribly(modulename, "could not determine seek position in archive file: %s\n",
strerror(errno));
WriteToc(AH);
if (!ctx->hasSeek)
exit_horribly(modulename, "parallel restore from non-seekable file is not supported\n");
- errno = 0;
tpos = ftello(AH->FH);
- if (tpos < 0 || errno)
+ if (tpos < 0)
exit_horribly(modulename, "could not determine seek position in archive file: %s\n",
strerror(errno));