Re: [Bug-tar] POSIX_ARCHIVE & big sparse files (>= 2^33 B excluding holes)

2013-02-21 Thread Pavel Raiskup
On Thu, 2013-02-21 at 09:26 -0800, Paul Eggert wrote: > On 02/21/13 05:37, Pavel Raiskup wrote: > > Paul, what do you think? > > Sorry, I've lost context. Is there a test case illustrating > the bug that this fixes? Just prepare sparse file of effective size > 8GB and try to create --posix tarbal

Re: [Bug-tar] [PATCH 0/1] Notes for wordsplit

2013-02-21 Thread Paul Eggert
On 02/21/13 01:53, Joerg Schilling wrote: > - gcc warns for so called "uninitilized varaiables" and other compilers > rightfully for the same code complain about useless code after you > added the "initialization" gcc asked for. We avoid this problem Coreutils, Tar, etc. by putti

Re: [Bug-tar] POSIX_ARCHIVE & big sparse files (>= 2^33 B excluding holes)

2013-02-21 Thread Paul Eggert
On 02/21/13 05:37, Pavel Raiskup wrote: > Paul, what do you think? Sorry, I've lost context. Is there a test case illustrating the bug that this fixes?

Re: [Bug-tar] POSIX_ARCHIVE & big sparse files (>= 2^33 B excluding holes)

2013-02-21 Thread Pavel Raiskup
>> We should overwrite the size when realsize has not been specified, not >> just when our size exceeds what's in st_size. > > Attached another attempt. Paul, what do you think? Thanks, Pavel

Re: [Bug-tar] [PATCH 0/1] Notes for wordsplit

2013-02-21 Thread Joerg Schilling
Eric Blake wrote: > On 02/20/2013 11:30 AM, Sergey Poznyakoff wrote: > > Hi Paul, > > > >> Developers are assumed to have up-to-date systems where -Werror is > >> appropriate. > > > > Frankly, I cannot imagine a situation where treaing a warning as an > > error can be appropriate. That's why I