Обсуждение: pgsql/src include/regex/cclass.h include/regex ...

Поиск
Список
Период
Сортировка

pgsql/src include/regex/cclass.h include/regex ...

От
Tom Lane
Дата:
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    tgl@hub.org    01/02/12 19:02:36

Modified files:
    src/include/regex: cclass.h regex.h regex2.h
    src/backend/regex: engine.c regcomp.c regerror.c regexec.c
                       regfree.c

Log message:
    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.