Merge some changes from GNU libc. Add prototypes.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 30 Aug 2000 18:31:17 +0000 (18:31 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 30 Aug 2000 18:31:17 +0000 (18:31 +0000)
commit7566b76a02e12fe4b44bb3762d1dd653ba960975
tree7132b6e7f9b8b5174ae88a06bc4a59e7368c509d
parent2f3b372db2163e9ebc7afe5c2ba36b10f4f78514
Merge some changes from GNU libc.  Add prototypes.
(bcopy, bcmp, REGEX_REALLOCATE, re_match_2_internal):
Use memcmp and memcpy instead of bcopy and bcmp.
(init_syntax_once): Use ISALNUM.
(PUSH_FAILURE_POINT, re_match_2_internal): Remove failure_id.
(REG_UNSET_VALUE): Remove.  Use NULL instead.
(REG_UNSET, re_match_2_internal): Use NULL.
(SET_HIGH_BOUND, MOVE_BUFFER_POINTER, ELSE_EXTEND_BUFFER_HIGH_BOUND):
New macros.
(EXTEND_BUFFER): Use them (to work with BOUNDED_POINTERS).
(GET_UNSIGNED_NUMBER): Don't use ISDIGIT.
(regex_compile): In handle_interval, return an error rather than try to
unfetch the interval if we can't find the closing brace.
Obey the RE_NO_GNU_OPS syntax bit.
(TOLOWER): New macro.
(regcomp): Use it.
(regexec): Allocate regs.start and regs.end as one block.
regex.c