# HG changeset patch # User Stefan Monnier # Date 967660290 0 # Node ID c4d65bb448a6f9cb5fac9f1c3e08bbabdb9ab87f # Parent 34c25566aab35a645ec4092645d936cdafff2ad6 *** empty log message *** diff -r 34c25566aab3 -r c4d65bb448a6 src/ChangeLog --- a/src/ChangeLog Wed Aug 30 18:31:17 2000 +0000 +++ b/src/ChangeLog Wed Aug 30 18:31:30 2000 +0000 @@ -1,3 +1,25 @@ +2000-08-30 Stefan Monnier + + * regex.h (struct re_pattern_buffer): Use size_t for used/allocated. + + * regex.c: 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. + 2000-08-30 Gerd Moellmann * xdisp.c (echo_area_display): Check display_completed instead