]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Fix check for tape device 1640/head
authorWalter Lozano <walter.lozano@collabora.com>
Sat, 18 Dec 2021 01:44:09 +0000 (22:44 -0300)
committerWalter Lozano <walter.lozano@collabora.com>
Tue, 21 Dec 2021 16:27:45 +0000 (13:27 -0300)
commitd39fb70401cbb05b407a32fc7eec8542056b0ce5
tree75fdf0652df03827e55d3595a3820c762e94b251
parent411284e3f5819a5726622f3f129ebf2859f2d46b
Fix check for tape device

In b6b423f0 a fallback in tar to stdio was implemented. However, the check
for the tape device didn't interpret the correct value returned from
access(). Fix the check to implement the fallback to stdio properly.

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