[w3m-dev-en 00149] Re: bad w3m, no biscuit

From: Hironori Sakamoto (h-saka@lsi.nec.co.jp)
Date: Sun May 14 2000 - 23:45:24 CDT


>> From: collver@softhome.net
>> I noticed that w3m consistently crashed on an evil 404 page I ran into.
>> If anyone is interested in tracing it, I am attaching the page to this
>> mail.

This problem is probably a known bug. The fixed patch is already
contributed by "(NO) NO HITO" who uses Japanese handle name :-) in
  http://ei5nazha.yz.yamagata-u.ac.jp/BBS/spool/log.html
  Message-Id: <20000408192139@ei5nazha>

But, because this page is written in Japanese, I attached the patch.

--- file.c.orig Wed May 10 14:15:59 2000
+++ file.c Mon May 15 13:18:16 2000
@@ -2044,7 +2044,7 @@
 {
 #ifdef MENU_SELECT
     Str tmp;
- if (cur_select == NULL) {
+ if (cur_select == NULL && cur_option) {
         /* single select */
         while (cur_option->length > 0 &&
                IS_SPACE(Strlastchar(cur_option)))

>> Also, when I go to http://www.altavista.digital.com/, w3m automatically
>> displays the html source and I have to press \ to display the page.

I could see as a formatted page...

Thank you for your report.
-----------------------------------
Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
 http://www2u.biglobe.ne.jp/~hsaka/



This archive was generated by hypermail 2b29 : Wed Jul 19 2000 - 10:30:43 CDT