PERFORCE change 143652 for review
Gabor Kovesdan
gabor at FreeBSD.org
Tue Jun 17 16:27:01 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=143652
Change 143652 by gabor at 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);
}
More information about the p4-projects
mailing list