bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] Re: GNU tar Feature Question


From: Sergey Poznyakoff
Subject: Re: [Bug-tar] Re: GNU tar Feature Question
Date: Tue, 19 Apr 2005 14:47:30 +0300

Aaron M. Renn <address@hidden> wrote:

> I haven't looked at the code, but I suspect that it probably gives up
> after a period of time.

Nope, it does not. It keeps reading new records until it finds one that
is a valid archive header. In your example it obvioulsy could not find
one.

> My previous patch [...] performed the highly simplistic
> strategy of just advancing one byte at a time looking for something it
> could extract - till the end of the file if necessary.

Yes, that's the same strategy cpio is using when trying to restore
a broken tar archive. It works fine, indeed. I plan to implement it
in tar when I am through with more urgent issues.

Regards,
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]