summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2023-02-09 19:10:47 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2023-02-09 19:54:20 -0800
commitd374d32ccf12f8cf33c8f823d573498b7c8b27a4 (patch)
tree32b943c4a862bc5b0cfdca5829dd0d3aee9afdf1 /tests
parentd195e3863cdba55bd851dac44dbf4f0bcb89a4fe (diff)
downloadcoreutils-d374d32ccf12f8cf33c8f823d573498b7c8b27a4.tar.gz
cp: simplify infer_scantype
* src/copy.c (infer_scantype): Do not set *SCAN_INFERENCE when returning a value other than LSEEK_SCANTYPE. This is just minor refactoring; it simplifies the code a bit. Callers are uneffected. doc: document --preserve=mode better
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions