diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2012-02-17 19:44:26 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2012-02-17 19:44:26 -0500 |
commit | 08fd6ff37f71485e2fc04bc6ce07d2a483c36702 (patch) | |
tree | 51fa2da7977aad7fb44daef5622b1fdf6555f06e /src/backend/regex/regc_locale.c | |
parent | 06d9afa6f93ec08a45da4de7afd97bbf16738739 (diff) | |
download | postgresql-08fd6ff37f71485e2fc04bc6ce07d2a483c36702.tar.gz postgresql-08fd6ff37f71485e2fc04bc6ce07d2a483c36702.zip |
Sync regex code with Tcl 8.5.11.
Sync our regex code with upstream changes since last time we did this,
which was Tcl 8.5.0 (see commit df1e965e12cdd48c11057ee6e15346ee2b8b02f5).
There are no functional changes here; the main point is just to lay down
a commit-log marker that somebody has looked at this recently, and to do
what we can to keep the two codebases comparable.
Diffstat (limited to 'src/backend/regex/regc_locale.c')
-rw-r--r-- | src/backend/regex/regc_locale.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/regex/regc_locale.c b/src/backend/regex/regc_locale.c index 0f70931b13e..6cf27958b15 100644 --- a/src/backend/regex/regc_locale.c +++ b/src/backend/regex/regc_locale.c @@ -499,7 +499,7 @@ cclass(struct vars * v, /* context */ { size_t len; struct cvec *cv = NULL; - const char **namePtr; + const char * const *namePtr; int i, index; @@ -507,7 +507,7 @@ cclass(struct vars * v, /* context */ * The following arrays define the valid character class names. */ - static const char *classNames[] = { + static const char * const classNames[] = { "alnum", "alpha", "ascii", "blank", "cntrl", "digit", "graph", "lower", "print", "punct", "space", "upper", "xdigit", NULL }; |