summaryrefslogtreecommitdiff
path: root/lib/getline.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-03-22 04:54:46 +0000
committerJim Meyering <jim@meyering.net>1996-03-22 04:54:46 +0000
commit7178674807632f117c58eda232f961578a13cee4 (patch)
tree06d09f9b80cd4630d4fe873f3d1e6b262113ba33 /lib/getline.h
parent1954f681c6ca11ff91ab59ec074a03859ab0dc46 (diff)
downloadcoreutils-7178674807632f117c58eda232f961578a13cee4.tar.xz
Include assert.h, but disable assertions.
(process_line_count): Replace if-abort with a slightly relaxed assertion. Before, `echo |csplit - 1 1' would abort. Reported by Samuli.Karkkainen@hut.fi. (parse_patterns): Disallow uses like `csplit FILE 0' with zero line number, `csplit FILE 2 1' with decreasing line numbers, and warn about uses like `csplit FILE 3 3' that have equal line numbers.
Diffstat (limited to 'lib/getline.h')
0 files changed, 0 insertions, 0 deletions