diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2023-02-09 19:10:47 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2023-02-09 19:54:20 -0800 |
commit | d374d32ccf12f8cf33c8f823d573498b7c8b27a4 (patch) | |
tree | 32b943c4a862bc5b0cfdca5829dd0d3aee9afdf1 /tests | |
parent | d195e3863cdba55bd851dac44dbf4f0bcb89a4fe (diff) | |
download | coreutils-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