w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit 0865ea3fc1e4ddc897e0438a39a9e1f576dc5047
parent 2eff113dddec02b879db7cea6ad09b092525f250
Author: ukai <ukai>
Date:   Wed, 16 Jan 2002 04:38:06 +0000

[w3m-dev 02851]
* regex.c (newRegex0): fix return NULL;
From: Tsutomu Okada <okada@furuno.co.jp>

Diffstat:
MChangeLog | 5+++++
Mregex.c | 2+-
2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -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] diff --git a/regex.c b/regex.c @@ -175,8 +175,8 @@ newRegex0(char **ex, int igncase, Regex *regex, char **msg, int level) if (st_ptr >= &regex->storage[STORAGE_MAX]) { if (msg) *msg = "Regular expression too long"; + return NULL; } - return NULL; } *(st_ptr++) = '\0'; re->p.pattern = r;