PERFORCE change 145278 for review
Gabor Kovesdan
gabor at FreeBSD.org
Tue Jul 15 13:15:35 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=145278
Change 145278 by gabor at gabor_server on 2008/07/15 13:14:34
- Exit if we don't have PCRE, but -P is set
Affected files ...
.. //depot/projects/soc2008/gabor_textproc/grep/grep.c#68 edit
Differences ...
==== //depot/projects/soc2008/gabor_textproc/grep/grep.c#68 (text+ko) ====
@@ -554,6 +554,11 @@
cflags |= REG_EXTENDED;
break;
case GREP_PERL:
+#ifndef WITH_PCRE
+ errx(2, "PCRE is not enabled in this version of grep."
+ "To enable this feature, please install libpcre and"
+ "recompile grep with WITH_PCRE set.");
+#endif
break;
default:
/* NOTREACHED */
More information about the p4-projects
mailing list