Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jul 2008 11:20:10 GMT
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 145705 for review
Message-ID:  <200807231120.m6NBKAxr072206@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=145705

Change 145705 by gabor@gabor_server on 2008/07/23 11:20:09

	- Use the color code, which the GNU regression test expects

Affected files ...

.. //depot/projects/soc2008/gabor_textproc/grep/util.c#68 edit

Differences ...

==== //depot/projects/soc2008/gabor_textproc/grep/util.c#68 (text+ko) ====

@@ -417,7 +417,7 @@
 				fwrite(line->dat + matches[i].rm_so, 
 				    matches[i].rm_eo - matches[i].rm_so, 1, stdout);
 			if (color) 
-				fprintf(stdout, "\33[00m\33[K");
+				fprintf(stdout, "\33[m\33[K");
 			a = matches[i].rm_eo;
 			if (oflag)
 				putchar('\n');



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