diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2010-12-23 00:07:35 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2010-12-23 00:07:59 -0800 |
commit | bc4e77927c6610d856bec90a60da931e33d3abbb (patch) | |
tree | b2f2c77b8e60149b1aa897d2ef7b11a69e91def5 /tests/misc/env-null | |
parent | 1d0a1203777bf8478822e6dfb64cd49368a4d588 (diff) | |
download | coreutils-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/env-null')
0 files changed, 0 insertions, 0 deletions