[EMAIL PROTECTED] 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  <[EMAIL PROTECTED]>

        * 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.


_______________________________________________
Bug-tar mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-tar

Reply via email to