Deleted Added
full compact
2c2
< /* $FreeBSD: head/usr.bin/grep/grep.c 226271 2011-10-11 22:27:23Z gabor $ */
---
> /* $FreeBSD: head/usr.bin/grep/grep.c 228319 2011-12-07 12:25:28Z gabor $ */
33c33
< __FBSDID("$FreeBSD: head/usr.bin/grep/grep.c 226271 2011-10-11 22:27:23Z gabor $");
---
> __FBSDID("$FreeBSD: head/usr.bin/grep/grep.c 228319 2011-12-07 12:25:28Z gabor $");
151c151
< bool notfound; /* file not found */
---
> bool file_err; /* file reading error */
731c731
< exit(c ? (notfound ? (qflag ? 0 : 2) : 0) : (notfound ? 2 : 1));
---
> exit(c ? (file_err ? (qflag ? 0 : 2) : 0) : (file_err ? 2 : 1));