Module Name: src
Committed By: christos
Date: Sat Oct 18 14:56:14 UTC 2014
Modified Files:
src/usr.bin/col: col.c
Log Message:
PR/49291: Henning Petersen: Problem with half-line feeds in input stream.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/usr.bin/col/col.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/col/col.c
diff -u src/usr.bin/col/col.c:1.17 src/usr.bin/col/col.c:1.18
--- src/usr.bin/col/col.c:1.17 Wed Aug 31 12:24:57 2011
+++ src/usr.bin/col/col.c Sat Oct 18 10:56:14 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: col.c,v 1.17 2011/08/31 16:24:57 plunky Exp $ */
+/* $NetBSD: col.c,v 1.18 2014/10/18 14:56:14 christos Exp $ */
/*-
* Copyright (c) 1990, 1993, 1994
@@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1990, 19
#if 0
static char sccsid[] = "@(#)col.c 8.5 (Berkeley) 5/4/95";
#endif
-__RCSID("$NetBSD: col.c,v 1.17 2011/08/31 16:24:57 plunky Exp $");
+__RCSID("$NetBSD: col.c,v 1.18 2014/10/18 14:56:14 christos Exp $");
#endif /* not lint */
#include <ctype.h>
@@ -368,7 +368,7 @@ flush_blanks(void)
PUTC('\n');
if (half) {
PUTC('\033');
- PUTC('9');
+ PUTC('\011');
if (!nb)
PUTC('\r');
}