[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH] tar: assume file size of 0 for hardlinks
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2011-07-29 6:36:37
Message-ID: 201107290836.37966.vda.linux () googlemail ! com
[Download RAW message or body]

On Thursday 28 July 2011 19:29, Ian Wienand wrote:
> Hi,
> 
> I recently came across a tar file created by an older version of
> Python that had a file-size set for a hardlink.  Currently busybox
> assumes the file-size is zero but doesn't really check, so
> consequently tar skipped ahead and thought the rest of the file was
> corrupt.
> 
> This is a python bug (a bit of searching found [1]), but as they say
> the nice thing about standards is that there are so many choose from.
> It appears it is reasonable to just always set this to zero, and then
> you can handle these buggy files if need be.

I applied your fix, thanks!
-- 
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic