diff options
author | dbaker <dbaker@FreeBSD.org> | 1999-09-01 22:21:24 +0000 |
---|---|---|
committer | dbaker <dbaker@FreeBSD.org> | 1999-09-01 22:21:24 +0000 |
commit | 029cf048cd4d6a88df15e78fbdab21d5ed00da34 (patch) | |
tree | dccd0c1a3c437833b01024851d3e8e1bfe60bc61 | |
parent | c183570cee0dd12ce8f687fb96879079877c8d2a (diff) | |
download | FreeBSD-src-029cf048cd4d6a88df15e78fbdab21d5ed00da34.zip FreeBSD-src-029cf048cd4d6a88df15e78fbdab21d5ed00da34.tar.gz |
Corrected apparent omission in program logic which was causing the
insertion of redundant crlf's. Eliminated the venetian-blind effect
in walled text.
Submitted by: David McNett <nugget@slacker.com>
-rw-r--r-- | usr.bin/wall/wall.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/wall/wall.c b/usr.bin/wall/wall.c index 448f7a9..c853e1c 100644 --- a/usr.bin/wall/wall.c +++ b/usr.bin/wall/wall.c @@ -217,8 +217,9 @@ makemsg(fname) cnt = 0; } } + } else { + putc(ch, fp); } - putc(ch, fp); } (void)fprintf(fp, "%79s\r\n", " "); rewind(fp); |