Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/col PR/49291: Henning Petersen: Problem with half-li...



details:   https://anonhg.NetBSD.org/src/rev/16fbbc33ea50
branches:  trunk
changeset: 333097:16fbbc33ea50
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Oct 18 14:56:14 2014 +0000

description:
PR/49291: Henning Petersen: Problem with half-line feeds in input stream.

diffstat:

 usr.bin/col/col.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 515984e769a7 -r 16fbbc33ea50 usr.bin/col/col.c
--- a/usr.bin/col/col.c Sat Oct 18 12:45:25 2014 +0000
+++ b/usr.bin/col/col.c Sat Oct 18 14:56:14 2014 +0000
@@ -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 @@
 #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 @@
                PUTC('\n');
        if (half) {
                PUTC('\033');
-               PUTC('9');
+               PUTC('\011');
                if (!nb)
                        PUTC('\r');
        }



Home | Main Index | Thread Index | Old Index