]> git.ipfire.org Git - thirdparty/coreutils.git/commit
copy: handle EOPNOTSUPP from SEEK_DATA
authorPádraig Brady <P@draigBrady.com>
Sun, 9 May 2021 20:55:22 +0000 (21:55 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 12 May 2021 21:14:11 +0000 (22:14 +0100)
commit017877bd088284d515753d78b81ca6e6a88c1350
tree452d60128efbbaf9ac1cde9d0b09432136b2a507
parent8ec0d1799e19a079b8a661c6bb69f6c58e52f1aa
copy: handle EOPNOTSUPP from SEEK_DATA

* src/copy.c (infer_scantype): Ensure we don't error out
if SEEK_DATA returns EOPNOTSUPP, on systems where this value
is distinct from ENOTSUP.  Generally both of these should be checked.
src/copy.c