diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-03-08 03:28:38 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-03-08 03:28:38 +0000 |
commit | 9ab701643a1ed5b165c1fa0d9e5c891d7caaf78f (patch) | |
tree | c38275f1e0938d78f2e36c999df2ab212ac60888 | |
parent | [w3m-dev 03087] vi +1 emptyfile (diff) | |
download | w3m-9ab701643a1ed5b165c1fa0d9e5c891d7caaf78f.tar.gz w3m-9ab701643a1ed5b165c1fa0d9e5c891d7caaf78f.zip |
[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 (limited to '')
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | file.c | 5 |
2 files changed, 11 insertions, 3 deletions
@@ -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 @@ -3068,4 +3075,4 @@ * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.335 2002/03/07 16:10:22 ukai Exp $ +$Id: ChangeLog,v 1.336 2002/03/08 03:28:38 ukai Exp $ @@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.74 2002/03/05 16:58:09 ukai Exp $ */ +/* $Id: file.c,v 1.75 2002/03/08 03:28:38 ukai Exp $ */ #include "fm.h" #include <sys/types.h> #include "myctype.h" @@ -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 |