This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU M4 source repository".
http://git.sv.gnu.org/gitweb/?p=m4.git;a=commitdiff;h=7f0b47b96e8872513aae3a4e3819aef6d799e6bd The branch, master has been updated via 7f0b47b96e8872513aae3a4e3819aef6d799e6bd (commit) from e3dce8bbfdf9b917089814b081c80fb40958e1a9 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 7f0b47b96e8872513aae3a4e3819aef6d799e6bd Author: Eric Blake <[EMAIL PROTECTED]> Date: Fri Feb 15 16:46:50 2008 -0700 * modules/gnu.c (regexp_compile): Use a fastmap for regex speed. Signed-off-by: Eric Blake <[EMAIL PROTECTED]> ----------------------------------------------------------------------- Summary of changes: ChangeLog | 4 ++++ modules/gnu.c | 2 ++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index f50ac37..0e3c93e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-02-15 Eric Blake <[EMAIL PROTECTED]> + + * modules/gnu.c (regexp_compile): Use a fastmap for regex speed. + 2008-02-13 Eric Blake <[EMAIL PROTECTED]> Fix texinfo grammar. diff --git a/modules/gnu.c b/modules/gnu.c index 10fb0ac..f3b7fb7 100644 --- a/modules/gnu.c +++ b/modules/gnu.c @@ -175,6 +175,8 @@ regexp_compile (m4 *context, const char *caller, const char *regexp, free (pat); return NULL; } + /* Use a fastmap for speed; it is freed by regfree. */ + pat->fastmap = xcharalloc (256); /* Now, find a victim slot. Decrease the count of all entries, then prime the count of the victim slot at REGEX_CACHE_SIZE. This hooks/post-receive -- GNU M4 source repository
