CVSROOT: /sources/m4
Module name: m4
Changes by: Gary V. Vaughan <gary> 06/07/05 16:56:51
Index: ChangeLog
===================================================================
RCS file: /sources/m4/m4/ChangeLog,v
retrieving revision 1.316
retrieving revision 1.317
diff -u -b -r1.316 -r1.317
--- ChangeLog 4 Jul 2006 16:29:34 -0000 1.316
+++ ChangeLog 5 Jul 2006 16:56:50 -0000 1.317
@@ -1,3 +1,18 @@
+2006-07-05 Gary V. Vaughan <[EMAIL PROTECTED]>
+
+ The regs_allocated field in a struct re_pattern_buffer refers
+ to the state of a particular re_registers struct when used in
+ successive matches using the same compiled pattern. Avoid a
+ SEGV in `renamesyms' resulting from using a new re_registers
+ with an existing re_pattern_buffer:
+
+ * modules/gnu.c (m4_pattern_buffer): Wrapper struct for associated
+ pattern buffer and registers.
+ (m4_regexp_search): New function to call re_regexp_search with
+ correctly matched pattern buffer and register instantiations.
+ (m4_regexp_compile): Return an m4_pattern_buffer. Adust all
+ callers.
+
2006-07-04 Gary V. Vaughan <[EMAIL PROTECTED]>
* ltdl/m4/m4-getopt.m4 (M4_GETOPT): Update to take into account
@@ -6604,4 +6619,4 @@
* Initial beta release. Release 0.50, manual 0.05.
- $Revision: 1.316 $ $Date: 2006/07/04 16:29:34 $
+ $Revision: 1.317 $ $Date: 2006/07/05 16:56:50 $