login-utils: remove unwanted newlines from wall
Prevent wall from adding an empty newline to every new line.
Signed-off-by: Matthias Koenig <[EMAIL PROTECTED]>
diff --git a/login-utils/wall.c b/login-utils/wall.c
index 2797f46..b5455c1 100644
--- a/login-utils/wall.c
+++ b/login-utils/wall.c
@@ -217,8 +217,6 @@ makemsg(fname)
if (cnt == 79 || ch == '\n') {
for (; cnt < 79; ++cnt)
putc(' ', fp);
- putc('\r', fp);
- putc('\n', fp);
cnt = 0;
}
carefulputc(ch, fp);
-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html