]> Dogcows Code - chaz/tar/commit
Fix hard links recognition with -c --remove-files
authorSergey Poznyakoff <gray@gnu.org.ua>
Thu, 30 Jul 2009 20:48:04 +0000 (23:48 +0300)
committerSergey Poznyakoff <gray@gnu.org.ua>
Thu, 30 Jul 2009 20:49:32 +0000 (23:49 +0300)
commit5944f452b0e615a172a9f058877671ff6272abb8
tree6dce714039dd93b7073b18d8ed7d6d484844889f
parentf74cab3a936190a65d57c82fea5b1a05affee60a
Fix hard links recognition with -c --remove-files

* src/create.c (dump_hard_link): Always look up in the link table
if remove_files_option is set. Patch suggested by Theodore Ts'o
<tytso@mit.edu>.
(check_links): Remove extra newline from the warning message.
* tests/link02.at, tests/link03.at: New testcases.
* tests/Makefile.am (TESTSUITE_AT): Add link02.at and link03.at
* tests/testsuite.at: Include link02.at and link03.at
src/create.c
tests/Makefile.am
tests/link01.at
tests/link02.at [new file with mode: 0644]
tests/link03.at [new file with mode: 0644]
tests/testsuite.at
This page took 0.025553 seconds and 4 git commands to generate.