tar: fix mishandling of repeated hardlink in tarball; expand tests
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 9 Apr 2010 08:52:52 +0000 (10:52 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 9 Apr 2010 08:52:52 +0000 (10:52 +0200)
commit02365a6ef73defb8689d3ed5228125d72993dec9
tree26358e718c5232ee44ad750f1b386f0f4138512a
parent823b636cd14d337ebb8766c5c181737fb3860b42
tar: fix mishandling of repeated hardlink in tarball; expand tests

function                                             old     new   delta
data_extract_all                                     727     767     +40
get_header_tar                                      1576    1572      -4

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
archival/libunarchive/data_extract_all.c
archival/libunarchive/get_header_tar.c
testsuite/tar.tests