]> Dogcows Code - chaz/tar/commitdiff
Fix bug in sparse file listing
authorPavel Raiskup <praiskup@redhat.com>
Tue, 29 Jan 2013 09:39:30 +0000 (10:39 +0100)
committerSergey Poznyakoff <gray@gnu.org>
Fri, 7 Nov 2014 08:21:41 +0000 (10:21 +0200)
List posix archives containing sparse files >8GB correctly and do not fail.
This fixes also bug in format of listing for sparse files >8GB - now the
real size is printed instead of the effective one (this is not strictly
posix format related).

* src/list.c: Remove redundant assignment.
* src/tar.h: Add new 'real_size' and 'real_size_set' fields in
  tar_stat_info struct.
* src/xheader.c: Correctly handle (especially sparse) file sizes directly in
  xheader_decode().


No differences found
This page took 0.02113 seconds and 4 git commands to generate.