From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out.smtp-auth.no-ip.com (smtp-auth.no-ip.com [8.23.224.61]) by hurricane.the-brannons.com (Postfix) with ESMTPS id A45A87891D for ; Mon, 7 Sep 2015 16:37:48 -0700 (PDT) X-No-IP: carhart.net@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from carhart.net (unknown [99.52.200.227]) (Authenticated sender: carhart.net@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id ED0FE400D91; Mon, 7 Sep 2015 16:40:19 -0700 (PDT) Received: from carhart.net (localhost [127.0.0.1]) by carhart.net (8.13.8/8.13.8) with ESMTP id t87NeJr5013743; Mon, 7 Sep 2015 16:40:19 -0700 Received: from localhost (kevin@localhost) by carhart.net (8.13.8/8.13.8/Submit) with ESMTP id t87NeIId013649; Mon, 7 Sep 2015 16:40:19 -0700 Date: Mon, 7 Sep 2015 16:40:18 -0700 (PDT) From: Kevin Carhart To: Karl Dahlke cc: edbrowse-dev@lists.the-brannons.com In-Reply-To: <20150807105316.eklhad@comcast.net> Message-ID: References: <55ECDE40.4050404@pcdesk.net> <20150807105316.eklhad@comcast.net> User-Agent: Alpine 2.03 (LRH 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [Edbrowse-dev] Frameset crash X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2015 23:37:48 -0000 Oh, of course, no need to switch on (isFrameset) or anything. Thanks! On Mon, 7 Sep 2015, Karl Dahlke wrote: > Yeah the problem here is there's no and I was traversing the body. > Kevin showed me a way around it, if body is null then traverse the root, > which contains the frameset, and that fixed the seg fault, > but the head was scanned twice, as it is under the root, > which leads to the slap-your-forehead moment of saying, > "Gee, let's start at the root." > Then everything works fine, all the time. > I have made this push. > > By the way, with js turned off, and other variables out of the way, > the tidy5 parser is ten times as fast as mine. > It probably uses lex and yacc, > or techniques therefrom, which are honed for efficiency. > > Karl Dahlke > _______________________________________________ > Edbrowse-dev mailing list > Edbrowse-dev@lists.the-brannons.com > http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev > -------- Kevin Carhart * 415 225 5306 * The Ten Ninety Nihilists