]> Dogcows Code - chaz/tar/commit
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)
commitec94fbdf458adb2af803eefdd1a9c9bbb432bb21
treecbe52f94f545553c73cbd667a41bdc9f83b9b6c9
parentc48f4e8f6c849247022c3de8137b1c62f2496cba
Fix bug in sparse file listing

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().
src/list.c
src/tar.h
src/xheader.c
This page took 0.028329 seconds and 4 git commands to generate.