PERFORCE change 141286 for review

Gabor Kovesdan gabor at FreeBSD.org
Wed May 7 16:25:56 UTC 2008


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

Change 141286 by gabor at gabor_server on 2008/05/07 16:25:28

	- Fix --null to match the GNU behaviour

Affected files ...

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

Differences ...

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

@@ -578,8 +578,10 @@
 	if (!hflag) {
 		if (nullflag == 0)
 			fputs(line->file, stdout);
-		else
+		else {
 			printf("%s", line->file);
+			putchar(0);
+		}
 		++n;
 	}
 	if (nflag) {


More information about the p4-projects mailing list