Bug fix for WWWLibrary -- crashed with TechInfo gateway.

Tim Berners-Lee <timbl@www3.cern.ch>
Date: Wed, 6 Jan 93 17:53:41 +0100
From: Tim Berners-Lee <timbl@www3.cern.ch>
Message-id: <9301061653.AA01883@www3.cern.ch>
To: Denis DeLaRoca (310) 825-4580 <CSP1DWD@mvs.oac.ucla.edu>
Subject: Bug fix for WWWLibrary -- crashed with TechInfo gateway.
Cc: www-talk@nxoc01.cern.ch, www-bug@nxoc01.cern.ch
Reply-To: timbl@nxoc01.cern.ch
Happy New year everyone...

Ooops!

The problem is in HTML.c, there should be an UPDATE_STYLE in as first line of  
list_element -- if not, a pargraph mark is written to a nonexistent text  
object. Happens when the very first printable thing is a list element.
Fixed routine is:

PRIVATE void list_element  ARGS3(void *, this, HTTag *,t, HTElement *,e)
{
    UPDATE_STYLE;
    if (e->tag != &tags[DIR_TAG])
	HText_appendParagraph(THIS->text);
    else
        HText_appendCharacter(THIS->text, '\t');	/* Tab @@ nl for UL? */
    THIS->in_word = NO;
}


It'll be fixed in the next release. 1.1a of the library, I suggest you fix this  
in your code now for speed.

	Tim

Begin original message:

Date:    Wed, 06 Jan 93 08:25 PST
From: Denis DeLaRoca (310) 825-4580        <CSP1DWD@mvs.oac.ucla.edu>

Happy new year!

I just tried this TechInfo gateway... after selecting MIT from the
opening menu my WWW client crashes badly (my MVS port), so does the
sun3 version (fat core dump). Could you look into this?

-- Denis