]> git.ipfire.org Git - thirdparty/coreutils.git/commit
cp: prefer signed type for file byte count
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 5 Aug 2025 22:50:39 +0000 (15:50 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 16 Sep 2025 06:17:34 +0000 (23:17 -0700)
commitbcc5cdfb9ba5f92726191c3a7128bd4a83d3c0a4
tree7a7fcdf1e269c1dc3b575be7ca6184c4bcea14dd
parent5b5dcb70566f9622573d54eb2cc32184e953d9cc
cp: prefer signed type for file byte count

* src/copy-file-data.c (sparse_copy): max_n_read arg is now
of type count_t, not uintmax_t.  This is better for debugging
with -fsanitize=undefined.
src/copy-file-data.c