]> Dogcows Code - chaz/tar/commit
Fix tar -c -l file file
authorSergey Poznyakoff <gray@gnu.org.ua>
Wed, 10 Dec 2014 02:34:02 +0000 (04:34 +0200)
committerSergey Poznyakoff <gray@gnu.org.ua>
Wed, 10 Dec 2014 02:34:02 +0000 (04:34 +0200)
commit1209e0ebff2cdfbff2195a162d85df5de349bbaf
tree747214a59f5a03605341665bee38899508b9f739
parente7b6f8e3aecf2699ecd1e18f905e14a2841c5e00
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.
src/create.c
tests/link04.at
This page took 0.026481 seconds and 4 git commands to generate.