[w3m-dev 02851]
* regex.c (newRegex0): fix return NULL; From: Tsutomu Okada <okada@furuno.co.jp>
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2002-01-16 Tsutomu Okada <okada@furuno.co.jp>
|
||||||
|
|
||||||
|
* [w3m-dev 02851]
|
||||||
|
* regex.c (newRegex0): fix return NULL;
|
||||||
|
|
||||||
2002-01-16 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp>
|
2002-01-16 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp>
|
||||||
|
|
||||||
* [w3m-dev 02847]
|
* [w3m-dev 02847]
|
||||||
@@ -1998,4 +2003,4 @@
|
|||||||
* release-0-2-1
|
* release-0-2-1
|
||||||
* import w3m-0.2.1
|
* import w3m-0.2.1
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.227 2002/01/16 02:51:37 ukai Exp $
|
$Id: ChangeLog,v 1.228 2002/01/16 04:38:06 ukai Exp $
|
||||||
|
|||||||
4
regex.c
4
regex.c
@@ -1,4 +1,4 @@
|
|||||||
/* $Id: regex.c,v 1.12 2002/01/16 02:50:04 ukai Exp $ */
|
/* $Id: regex.c,v 1.13 2002/01/16 04:38:06 ukai Exp $ */
|
||||||
/*
|
/*
|
||||||
* regex: Regular expression pattern match library
|
* regex: Regular expression pattern match library
|
||||||
*
|
*
|
||||||
@@ -175,8 +175,8 @@ newRegex0(char **ex, int igncase, Regex *regex, char **msg, int level)
|
|||||||
if (st_ptr >= ®ex->storage[STORAGE_MAX]) {
|
if (st_ptr >= ®ex->storage[STORAGE_MAX]) {
|
||||||
if (msg)
|
if (msg)
|
||||||
*msg = "Regular expression too long";
|
*msg = "Regular expression too long";
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
return NULL;
|
|
||||||
}
|
}
|
||||||
*(st_ptr++) = '\0';
|
*(st_ptr++) = '\0';
|
||||||
re->p.pattern = r;
|
re->p.pattern = r;
|
||||||
|
|||||||
Reference in New Issue
Block a user