Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Oct 2014 21:09:04 +0000 (UTC)
From:      John-Mark Gurney <jmg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r273242 - head/usr.bin/col
Message-ID:  <201410172109.s9HL94rO076203@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jmg
Date: Fri Oct 17 21:09:03 2014
New Revision: 273242
URL: https://svnweb.freebsd.org/changeset/base/273242

Log:
  Fix to col when printing half-line feeds w/ -f option...
  
  Message-Id on openbsd-tech: 20141017195810.GJ132@iris.usta.de
  Submitted by:	Ingo Schwarze
  Obtained from:	OpenBSD
  MFC after:	3 days

Modified:
  head/usr.bin/col/col.c

Modified: head/usr.bin/col/col.c
==============================================================================
--- head/usr.bin/col/col.c	Fri Oct 17 20:47:55 2014	(r273241)
+++ head/usr.bin/col/col.c	Fri Oct 17 21:09:03 2014	(r273242)
@@ -378,7 +378,7 @@ flush_blanks(void)
 		PUTC('\n');
 	if (half) {
 		PUTC('\033');
-		PUTC('9');
+		PUTC('\011');
 		if (!nb)
 			PUTC('\r');
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410172109.s9HL94rO076203>