diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-16 04:38:06 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-16 04:38:06 +0000 |
commit | e5106ef688a08a96794024107d860d8a2e061ff9 (patch) | |
tree | 0fdc21a16d74c654facc9d94cc411e7dcef378d2 | |
parent | [w3m-dev 02847] (diff) | |
download | w3m-e5106ef688a08a96794024107d860d8a2e061ff9.tar.gz w3m-e5106ef688a08a96794024107d860d8a2e061ff9.zip |
[w3m-dev 02851]
* regex.c (newRegex0): fix return NULL;
From: Tsutomu Okada <okada@furuno.co.jp>
-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; |