PERFORCE change 145705 for review

Gabor Kovesdan gabor at FreeBSD.org
Wed Jul 23 11:20:10 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=145705

Change 145705 by gabor at 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');


More information about the p4-projects mailing list