w3m

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

commit 2f93d8b1d6d8f7bcb08036a6d0601ddd537b7d63
parent 264099af6ec8557bebce4a3749f43aa325825f6e
Author: ukai <ukai>
Date:   Fri,  8 Mar 2002 03:28:38 +0000

[w3m-dev 03088] gopher broken
	(Re: Bug#137287: w3m: segfault on gopher://xxxx.xxx URI)
* file.c (form_max): initial value should be -1
* file.c (loadGopherDir): </A>
From: Fumitoshi UKAI  <ukai@debian.or.jp>

Diffstat:
MChangeLog | 7+++++++
Mfile.c | 3++-
2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,10 @@ +2002-03-08 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03088] gopher broken + (Re: Bug#137287: w3m: segfault on gopher://xxxx.xxx URI) + * file.c (form_max): initial value should be -1 + * file.c (loadGopherDir): </A> + 2002-03-08 YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp> * [w3m-dev 03087] vi +1 emptyfile diff --git a/file.c b/file.c @@ -115,7 +115,7 @@ static struct link_stack *link_stack = NULL; #define INITIAL_FORM_SIZE 10 static FormList **forms; static int *form_stack; -static int form_max = 0; +static int form_max = -1; static int forms_size = 0; #define cur_form_id ((form_sp >= 0)? form_stack[form_sp] : -1) static int form_sp = 0; @@ -6287,6 +6287,7 @@ loadGopherDir(URLFile *uf, Buffer *newBuf) Strcat_charp(lbuf, "\">"); Strcat_charp(lbuf, p); Strcat_charp(lbuf, name->ptr + 1); + Strcat_charp(lbuf, "</A>"); pushTextLine(tl, newTextLine(lbuf, visible_length(lbuf->ptr))); } #ifdef JP_CHARSET