mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02:00
* trustdb.c (check_regexp): Modern regexps require REG_EXTENDED.
This commit is contained in:
parent
09158d1e99
commit
179b8570c8
@ -1,3 +1,7 @@
|
|||||||
|
2002-10-30 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* trustdb.c (check_regexp): Modern regexps require REG_EXTENDED.
|
||||||
|
|
||||||
2002-10-29 David Shaw <dshaw@jabberwocky.com>
|
2002-10-29 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* packet.h, trustdb.h, trustdb.c (trust_string): New. Return a
|
* packet.h, trustdb.h, trustdb.c (trust_string): New. Return a
|
||||||
|
@ -1335,7 +1335,7 @@ check_regexp(const char *exp,const char *string)
|
|||||||
int ret;
|
int ret;
|
||||||
regex_t pat;
|
regex_t pat;
|
||||||
|
|
||||||
if(regcomp(&pat,exp,REG_ICASE|REG_NOSUB)!=0)
|
if(regcomp(&pat,exp,REG_ICASE|REG_NOSUB|REG_EXTENDED)!=0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
ret=regexec(&pat,string,0,NULL,0);
|
ret=regexec(&pat,string,0,NULL,0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user