Jim Meyering 51e2ffc524 Prevent a counter buffer overrun when numbering lines and when
processing 100 billion lines (or more) of input.

(LINE_COUNTER_BUF_LEN): Define to allow numbering as
many as 10^18 - 1 lines (the old limit was 10^11 - 1, and could
be exceeded without too much trouble).	Use this symbol rather
than hard-coding the constant everywhere.  Rather than overruning
for input with more lines, mark the line number by putting a
`>' in the leftmost slot.
(next_line_num): Fixed (now academic) possible line buffer overrun.
Patch by Jan Nieuwenhuizen.
2000-10-21 19:16:37 +00:00
2000-10-19 11:43:28 +00:00
2000-10-21 12:46:58 +00:00
2000-10-21 10:37:14 +00:00
2000-07-11 22:44:26 +00:00
2000-10-21 13:09:31 +00:00
1998-08-13 04:06:52 +00:00
1998-05-03 20:46:29 +00:00
1999-01-17 13:53:32 +00:00
.
1997-02-04 03:29:06 +00:00
2000-10-21 13:22:39 +00:00
S
Description
GNU Coreutils
GPL-3.0
48 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 55.1%
Shell 29.1%
Perl 11.6%
Makefile 2.2%
M4 0.9%
Other 1.1%