summaryrefslogtreecommitdiff
path: root/THANKS
diff options
context:
space:
mode:
authorAlain Magloire <alainm@rcsm.ee.mcgill.ca>2001-03-07 04:11:26 +0000
committerAlain Magloire <alainm@rcsm.ee.mcgill.ca>2001-03-07 04:11:26 +0000
commit519059dbf2c9dfe4e60621f84a6c4490a941b4e7 (patch)
tree1ff381805f8f229579a9818966915c81e8c18a2f /THANKS
parent2b9c2eb1c5f396c5ba1727278caa6ba04b2f415f (diff)
downloadgrep-519059dbf2c9dfe4e60621f84a6c4490a941b4e7.tar.gz
Fix the search bugs
Only the Regex patterns should be split in an array, patterns[]. The dfa and KWset compiled patterns should remain global and the patterns compiled all at once. * src/search.c : include "error.h" and "xalloc.h" to get prototyping of x*alloc() and error(). (kwsinit) : Reverse to previous behaviour and takes no argument. (kwsmusts) : Likewised. (Gcompile) : For the regex pattern, split them and each pattern is put in different compiled structure patterns[]. The patterns are given to dfacomp() and kwsmusts() as is. (Ecompile) : Likewised. (Fcompile) : Reverse to the old behaviour of compiling the enire patterns in one shot. (EGexecute) : If falling to GNU regex for the matching, loop in the array of compile patterns[] to find a match. (error) : Many error () were call with arguments in the wrong order. * tests/file.sh : Simple test to check for pattern in files. Reaction to bug report fired by Greg Louis <glouis@dynamicro.on.ca> In multibyte environments, handle multibyte characters as single characters in bracket expressions. * src/dfa.h (mb_char_classes) : new structure. (mbcsets) : new variable. (nmbcsets) : new variable. (mbcsets_alloc) : new variable. * src/dfa.c (prtok) : handle MBCSET. (fetch_wc) : new function to fetch a wide character. (parse_bracket_exp_mb) : new function to handle multibyte character in lex(). (lex) : invoke parse_bracket_exp_mb() for multibyte bracket expression. (atom) : handle MBCSET. (epsclosure) : likewise. (dfaanalyze) : likewise. (dfastate) : likewise. (match_mb_charset) : new function to judge whether a bracket match with a multibyte character. (check_matching_with_multibyte_ops) : handle MBCSET. (dfainit) : initialize new variables. (dfafree) : free new variables.
Diffstat (limited to 'THANKS')
-rw-r--r--THANKS1
1 files changed, 1 insertions, 0 deletions
diff --git a/THANKS b/THANKS
index d085075e..e85f8cbf 100644
--- a/THANKS
+++ b/THANKS
@@ -17,6 +17,7 @@ Florian La Roche <florian@knorke.saar.de>
Franc,ois Pinard <pinard@IRO.UMontreal.CA>
Gerald Stoller <gerald_stoller@hotmail.com>
Grant McDorman <grant@isgtec.com>
+Greg Louis <glouis@dynamicro.on.ca>
Guglielmo 'bond' Bondioni <g.bondioni@libero.it>
H. Merijn Brand <h.m.brand@hccnet.nl>
Harald Hanche-Olsen <hanche@math.ntnu.no>