]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Add path fallback in tar 1632/head
authorWalter Lozano <walter.lozano@collabora.com>
Sat, 27 Nov 2021 00:23:20 +0000 (21:23 -0300)
committerWalter Lozano <walter.lozano@collabora.com>
Fri, 3 Dec 2021 14:55:09 +0000 (11:55 -0300)
commitb6b423f06c4b8389493726be2c83ce8675be5354
tree38ba7d183b513804a5b9ba6dc133f2d10366b787
parent4f598ce28aa370e945103eb9a17f03c7c820c1e8
Add path fallback in tar

Since current tar defaults to tape devices that are rare nowadays add an
additional step to fallback to "-" if tape devices are not found.

This is a clean way to have a default to "-" on those systems that tape
devices are not present while keeping the current behavior for other
cases. Additionally prepare for future releases where this kind of defaults
will be dropped.

Signed-off-by: Walter Lozano <walter.lozano@collabora.com>
tar/bsdtar.c