From: Sergey Poznyakoff Date: Wed, 10 Dec 2014 02:34:02 +0000 (+0200) Subject: Fix tar -c -l file file X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=1209e0ebff2cdfbff2195a162d85df5de349bbaf;hp=1209e0ebff2cdfbff2195a162d85df5de349bbaf;p=chaz%2Ftar Fix tar -c -l file file When the same file is added several times to the archive, count correctly the number of hard links. See also 37ddfb0b. * src/create.c (dump_hard_link): Don't decrease nlink if it is 0. * tests/link04.at: Test -cl options. ---