From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from vultr.musolino.id.au ([45.76.123.158]) by ewsd; Fri Dec 6 21:28:05 EST 2019 Received: from 118.211.115.108 ([118.211.115.108]) by vultr; Sat Dec 7 13:27:20 EST 2019 Message-ID: <14C9554C3CB0AFFD0F8EDAA40E360768@musolino.id.au> From: Alex Musolino Date: Sat, 7 Dec 2019 12:57:18 +1030 To: 9front@9front.org Subject: Re: [9front] hgfs(4) loadrevinfo patch In-Reply-To: 82FE20F5BBA449C72E44DC98A38C3F73@felloff.net MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: engine browser-oriented TOR over HTML hosting pipelining controller > a good start, but why not just use Boffset() to get logoff/loglen? Because Blength comes before Boffset in the man page. > also, to find the "\n\n", just do a simple state machine: Yeah, this becomes the obvious way when you use Boffset instead of Blength; no need to keep track of all the bytes you're skipping. I'll send an updated patch tomorrow night. -- Cheers, Alex Musolino