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 /src/cat.c | |
| parent | sort: minor performance tweak with num_processors (diff) | |
| download | coreutils-bc4e77927c6610d856bec90a60da931e33d3abbb.tar.gz coreutils-bc4e77927c6610d856bec90a60da931e33d3abbb.zip | |
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 'src/cat.c')
0 files changed, 0 insertions, 0 deletions
