--- pcre-7.2/pcregrep.c.bak 2007-08-06 00:06:30.964467000 +0300 +++ pcre-7.2/pcregrep.c 2007-08-06 00:07:53.180712598 +0300 @@ -61,13 +61,8 @@ POSSIBILITY OF SUCH DAMAGE. typedef int BOOL; -#define MAX_PATTERN_COUNT 100 - -#if BUFSIZ > 8192 -#define MBUFTHIRD BUFSIZ -#else -#define MBUFTHIRD 8192 -#endif +#define MAX_PATTERN_COUNT 10000 +#define MBUFTHIRD 131072 /* Values for the "filenames" variable, which specifies options for file name output. The order is important; it is assumed that a file name is wanted for