diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | regex.c | 4 |
2 files changed, 8 insertions, 3 deletions
@@ -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> * [w3m-dev 02847] @@ -1998,4 +2003,4 @@ * release-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 $ @@ -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 * @@ -175,8 +175,8 @@ newRegex0(char **ex, int igncase, Regex *regex, char **msg, int level) if (st_ptr >= ®ex->storage[STORAGE_MAX]) { if (msg) *msg = "Regular expression too long"; + return NULL; } - return NULL; } *(st_ptr++) = '\0'; re->p.pattern = r; |