Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2008 16:27:00 GMT
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 143652 for review
Message-ID:  <200806171627.m5HGR03Y064741@repoman.freebsd.org>

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

Change 143652 by gabor@gabor_server on 2008/06/17 16:26:05

	- GNU compatibility: return 2 if file does not exist

Affected files ...

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

Differences ...

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

@@ -137,6 +137,8 @@
 	if (f == NULL) {
 		if (!sflag)
 			warn("%s", fn);
+		if (errno == ENOENT)
+			exit (2);
 		return (0);
 	}
 



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