Clean up portability problems in regexp package: change all routine

Tom Lane <tgl@sss.pgh.pa.us>

Commit: f7a839bc2ba3f15d48006fe931499d4d9cfb314f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-02-13T00:02:36Z
Releases: 7.1.1
Clean up portability problems in regexp package: change all routine
definitions from K&R to ANSI C style, and fix broken assumption that
int and long are the same datatype.  This repairs problems observed
on Alpha with regexps having between 32 and 63 states.

Files

PathChange+/−
src/backend/regex/engine.c modified +64 −149
src/backend/regex/regcomp.c modified +129 −330
src/backend/regex/regerror.c modified +6 −53
src/backend/regex/regexec.c modified +15 −36
src/backend/regex/regfree.c modified +2 −11
src/include/regex/cclass.h modified +1 −1
src/include/regex/regex2.h modified +2 −18
src/include/regex/regex.h modified +7 −5