diff options
author | dgp@users.sourceforge.net <dgp> | 2016-02-01 21:39:44 (GMT) |
---|---|---|
committer | dgp@users.sourceforge.net <dgp> | 2016-02-01 21:39:44 (GMT) |
commit | f5d64f7857c1b4ee4901be831df30ad3f05d736a (patch) | |
tree | 16052ddae9882ca469926312bf68f818326dc171 /generic/regcomp.c | |
parent | 37ef96dd8eaa5191bc3ca3c34317811b27b812a9 (diff) | |
download | tcl-dgp_stop_regexp_test_crash.zip tcl-dgp_stop_regexp_test_crash.tar.gz tcl-dgp_stop_regexp_test_crash.tar.bz2 |
Backout the contributed patch memaccounting from Postgres since it changesdgp_stop_regexp_test_crash
the protections incompatibly and causes established tests to crash.
Diffstat (limited to 'generic/regcomp.c')
-rw-r--r-- | generic/regcomp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/generic/regcomp.c b/generic/regcomp.c index 8287b7e..fda40e0 100644 --- a/generic/regcomp.c +++ b/generic/regcomp.c @@ -227,7 +227,6 @@ struct vars { struct cvec *cv2; /* utility cvec */ struct subre *lacons; /* lookahead-constraint vector */ int nlacons; /* size of lacons */ - size_t spaceused; /* approx. space used for compilation */ }; /* parsing macros; most know that `v' is the struct vars pointer */ @@ -337,7 +336,6 @@ compile( v->cv2 = NULL; v->lacons = NULL; v->nlacons = 0; - v->spaceused = 0; re->re_magic = REMAGIC; re->re_info = 0; /* bits get set during parse */ re->re_csize = sizeof(chr); |