summaryrefslogtreecommitdiff
path: root/tests/misc/groups-dash
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2010-12-23 00:07:35 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2010-12-23 00:07:59 -0800
commitbc4e77927c6610d856bec90a60da931e33d3abbb (patch)
treeb2f2c77b8e60149b1aa897d2ef7b11a69e91def5 /tests/misc/groups-dash
parent1d0a1203777bf8478822e6dfb64cd49368a4d588 (diff)
downloadcoreutils-bc4e77927c6610d856bec90a60da931e33d3abbb.tar.xz
csplit: diagnose file counter wraparound
* src/csplit.c (create_output_file): Detect overflow when the file counter wraps around, and exit with a diagnostic. Formerly the code silently wrapped around and wrote to the wrong file, losing output data.
Diffstat (limited to 'tests/misc/groups-dash')
0 files changed, 0 insertions, 0 deletions