]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Warn if target of hard-link is not present
authorGraham Percival <gperciva@tarsnap.com>
Sun, 30 Aug 2015 17:53:12 +0000 (10:53 -0700)
committerGraham Percival <gperciva@tarsnap.com>
Thu, 3 Sep 2015 05:05:38 +0000 (22:05 -0700)
commit99d593a43dc33267a79537b3c6de7bee5949054e
tree4e5eef0fa220810df7f179833485e151e1dc337d
parent2b598c89fd2f5e81a00bc6f2791344474d26f8d0
Warn if target of hard-link is not present

To reproduce,

        touch a
        ln a b
        ./bsdtar -c -f warn-hard-links.tar a b
        rm a b
        ./bsdtar -x -f warn-hard-links.tar b

should produce a warning message about failing to create 'b' because the
hard-link target 'a' does not exist.  Previously, it did not give any hints
about why 'b' could not be created.
libarchive/archive_write_disk_posix.c