Sync our regex code with upstream changes since last time we did this, which
was Tcl 8.4.8. The main changes are to remove the never-fully-implemented code for multi-character collating elements, and to const-ify some stuff a bit more fully. In combination with the recent security patch, this commit brings us into line with Tcl 8.5.0. Note that I didn't make any effort to duplicate a lot of cosmetic changes that they made to bring their copy into line with their own style guidelines, such as adding braces around single-line IF bodies. Most of those we either had done already (such as ANSI-fication of function headers) or there is no point because pgindent would undo the change anyway.
Showing
- src/backend/regex/regc_color.c 10 additions, 25 deletionssrc/backend/regex/regc_color.c
- src/backend/regex/regc_cvec.c 15 additions, 78 deletionssrc/backend/regex/regc_cvec.c
- src/backend/regex/regc_lex.c 16 additions, 16 deletionssrc/backend/regex/regc_lex.c
- src/backend/regex/regc_locale.c 29 additions, 61 deletionssrc/backend/regex/regc_locale.c
- src/backend/regex/regc_nfa.c 34 additions, 35 deletionssrc/backend/regex/regc_nfa.c
- src/backend/regex/regcomp.c 49 additions, 311 deletionssrc/backend/regex/regcomp.c
- src/backend/regex/regerror.c 4 additions, 4 deletionssrc/backend/regex/regerror.c
- src/include/regex/regcustom.h 3 additions, 3 deletionssrc/include/regex/regcustom.h
- src/include/regex/regguts.h 5 additions, 13 deletionssrc/include/regex/regguts.h
Loading
Please register or sign in to comment