mirror of
https://github.com/postgres/postgres.git
synced 2025-09-11 00:12:06 +03:00
Fix char-vs-pg_wchar confusion in p_ere(), per failure report from
Tom O'Dowd. This fix is not relevant to CVS tip anymore, but we should fix it in 7.3.*.
This commit is contained in:
@@ -78,7 +78,7 @@ struct parse
|
|||||||
sopno pend[NPAREN]; /* -> ) ([0] unused) */
|
sopno pend[NPAREN]; /* -> ) ([0] unused) */
|
||||||
};
|
};
|
||||||
|
|
||||||
static void p_ere(struct parse * p, int stop);
|
static void p_ere(struct parse * p, pg_wchar stop);
|
||||||
static void p_ere_exp(struct parse * p);
|
static void p_ere_exp(struct parse * p);
|
||||||
static void p_str(struct parse * p);
|
static void p_str(struct parse * p);
|
||||||
static void p_bre(struct parse * p, int end1, int end2);
|
static void p_bre(struct parse * p, int end1, int end2);
|
||||||
@@ -292,9 +292,9 @@ pg_regcomp(regex_t *preg, const char *pattern, int cflags)
|
|||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
p_ere(struct parse * p,
|
p_ere(struct parse * p,
|
||||||
int stop) /* character this ERE should end at */
|
pg_wchar stop) /* character this ERE should end at */
|
||||||
{
|
{
|
||||||
char c;
|
pg_wchar c;
|
||||||
sopno prevback = 0;
|
sopno prevback = 0;
|
||||||
sopno prevfwd = 0;
|
sopno prevfwd = 0;
|
||||||
sopno conc;
|
sopno conc;
|
||||||
|
Reference in New Issue
Block a user