diff --exclude .svn --exclude .git --exclude CVS --exclude .hg -ur expect-5.45/exp_clib.c ../expect-5.45/exp_clib.c --- expect-5.45/exp_clib.c 2015-01-18 21:32:59.000000000 +0100 +++ ../expect-5.45/exp_clib.c 2015-01-18 21:31:48.873800506 +0100 @@ -1697,7 +1697,7 @@ } -#define EXP_MATCH_MAX 2000 +#define EXP_MATCH_MAX 1000 /* public */ char *exp_buffer = 0; char *exp_buffer_end = 0; diff --exclude .svn --exclude .git --exclude CVS --exclude .hg -ur expect-5.45/exp_command.c ../expect-5.45/exp_command.c --- expect-5.45/exp_command.c 2015-01-18 21:32:59.000000000 +0100 +++ ../expect-5.45/exp_command.c 2015-01-18 21:31:46.597882444 +0100 @@ -172,7 +172,7 @@ Tcl_Interp *interp; char *fmt; va_list args; - char buffer[2000]; + char buffer[1000]; interp = TCL_VARARGS_START(Tcl_Interp *,arg1,args); fmt = va_arg(args,char *); diff --exclude .svn --exclude .git --exclude CVS --exclude .hg -ur expect-5.45/expect.c ../expect-5.45/expect.c --- expect-5.45/expect.c 2015-01-18 21:32:59.000000000 +0100 +++ ../expect-5.45/expect.c 2015-01-18 21:31:51.653700425 +0100 @@ -44,7 +44,7 @@ #include "retoglob.c" /* RE 2 GLOB translator C variant */ /* initial length of strings that we can guarantee patterns can match */ -int exp_default_match_max = 2000; +int exp_default_match_max = 1000; #define INIT_EXPECT_TIMEOUT_LIT "10" /* seconds */ #define INIT_EXPECT_TIMEOUT 10 /* seconds */ int exp_default_parity = TRUE; diff --exclude .svn --exclude .git --exclude CVS --exclude .hg -ur expect-5.45/exp_log.c ../expect-5.45/exp_log.c --- expect-5.45/exp_log.c 2015-01-18 21:32:59.000000000 +0100 +++ ../expect-5.45/exp_log.c 2015-01-18 21:31:55.105576154 +0100 @@ -44,7 +44,7 @@ * create a reasonably large buffer for the bulk of the output routines * that are not too large */ -static char bigbuf[2000]; +static char bigbuf[1000]; static void expDiagWriteCharsUni _ANSI_ARGS_((Tcl_UniChar *str,int len)); @@ -303,7 +303,7 @@ { char *fmt; va_list args; - char bigbuf[2000]; + char bigbuf[1000]; int len, rc; fmt = TCL_VARARGS_START(char *,arg1,args);