]> git.ipfire.org Git - thirdparty/coreutils.git/commit
copy: pacify older clang
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 19 Sep 2025 15:55:12 +0000 (08:55 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 19 Sep 2025 15:55:12 +0000 (08:55 -0700)
commitd535ca4c06872a280ba65304036ff86d3fb5cb0e
tree48f1f3f7a53e556c2226092cb6fa65eff4a3739b
parent2662ddf335c9c5bafefa9c8c0b25c26e73d192ab
copy: pacify older clang

* src/copy-file-data.c (copy_file_data):
Redo conditionals for clarity.
This pacifies the clang in FreeBSD 11 and OpenBSD 7.6.
Problem reported by Bruno Haible in:
https://lists.gnu.org/r/coreutils/2025-09/msg00104.html
src/copy-file-data.c