--- pcre-7.9/pcregrep.c.bak 2009-04-17 19:05:00.929189102 +0300 +++ pcre-7.9/pcregrep.c 2009-04-17 19:05:59.593187731 +0300 @@ -70,14 +70,9 @@ POSSIBILITY OF SUCH DAMAGE. typedef int BOOL; -#define MAX_PATTERN_COUNT 100 +#define MAX_PATTERN_COUNT 10000 #define OFFSET_SIZE 99 - -#if BUFSIZ > 8192 -#define MBUFTHIRD BUFSIZ -#else -#define MBUFTHIRD 8192 -#endif +#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