Date: Tue, 15 Jul 2008 13:15:35 GMT From: Gabor Kovesdan <gabor@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 145278 for review Message-ID: <200807151315.m6FDFZCf046670@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=145278 Change 145278 by gabor@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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807151315.m6FDFZCf046670>