mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-23 19:28:36 +00:00
Fix off-by-one error processing the line after an empty line when the
-a option is not specified. Submitted by: schweikh MFC after: 1 week
This commit is contained in:
parent
b0eca2c865
commit
26cabd19d5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104466
|
@ -176,6 +176,7 @@ tabify(void)
|
|||
} else if (ch == '\n') {
|
||||
putchar('\n');
|
||||
doneline = ocol = dcol = 0;
|
||||
continue;
|
||||
} else if (ch != ' ' || dcol > limit) {
|
||||
putchar(ch);
|
||||
if (isprint(ch))
|
||||
|
|
Loading…
Reference in a new issue