| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Clean up another pre-ANSI-C-ism in regex code: get rid of pcolor |
| Date: | 2016-08-19 17:31:20 |
| Message-ID: | E1bandY-0008O9-OO@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Clean up another pre-ANSI-C-ism in regex code: get rid of pcolor typedef.
pcolor was used to represent function arguments that are nominally of
type color, but when using a pre-ANSI C compiler would be passed as the
promoted integer type. We really don't need that anymore.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/a859e640035680db31531ccd19a67292dd726baf
Modified Files
--------------
src/backend/regex/regc_color.c | 10 +++++-----
src/backend/regex/regc_nfa.c | 8 ++++----
src/backend/regex/regcomp.c | 14 +++++++-------
src/backend/regex/rege_dfa.c | 6 +++---
src/backend/regex/regexec.c | 4 ++--
src/include/regex/regguts.h | 1 -
6 files changed, 21 insertions(+), 22 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alvaro Herrera | 2016-08-19 17:40:23 | pgsql: reorderbuffer: preserve errno while reporting error |
| Previous Message | Tom Lane | 2016-08-19 16:51:10 | pgsql: Remove typedef celt from the regex library, along with macro NOC |