bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] Problem restoring files that have filenames exactly 512 ch


From: Paul Eggert
Subject: Re: [Bug-tar] Problem restoring files that have filenames exactly 512 chars (inc null term).
Date: Tue, 06 Sep 2005 12:25:34 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

address@hidden writes:

>               size_t name_size = current_stat_info.stat.st_size;
>               size = name_size - name_size % BLOCKSIZE + 2 * BLOCKSIZE;

I think this bug is fixed in CVS tar, which you can get from
<http://savannah.gnu.org/projects/tar>.  Here's the change log entry.
If it's not fixed, please let us know.

2005-01-13  Sergey Poznyakoff  <address@hidden>

        * src/list.c (read_header): Fixed calculation of the
        size for GNU long name/link. Tar was reading one block
        more if name_size was divisible by 512. Thanks Josef
        Bauer.




reply via email to

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