tar: prevent empty file to be treated as valid tarball
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 19 Nov 2013 16:17:48 +0000 (17:17 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 19 Nov 2013 16:17:48 +0000 (17:17 +0100)
commit0545e3b69ab57af1c21d199611c56b7f7593c8c5
treee085c0df969e977e3a6f1b247759d40eacf57129
parentdd1d8ab506420014cf0a3a076b2e3a4fa5de16ee
tar: prevent empty file to be treated as valid tarball

function                                             old     new   delta
tar_main                                             879     895     +16

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