Date: Fri, 22 Jun 2001 00:30:13 -0700 From: Jordan Hubbard <jkh@osd.bsdi.com> To: dima@unixfreak.org Cc: ianjhart@freeloader.freeserve.co.uk, freebsd-ports@freebsd.org, jkh@freebsd.org Subject: Re: New INDEX Message-ID: <20010622003013G.jkh@osd.bsdi.com> In-Reply-To: <20010622062315.6C42D3E28@bazooka.unixfreak.org> References: <3B326B5F.C763F5F8@freeloader.freeserve.co.uk> <20010622062315.6C42D3E28@bazooka.unixfreak.org>
next in thread | previous in thread | raw e-mail | index | archive | help
You're right, sysinstall should certainly dynamically allocate everything, but then to do that for INDEX you'd need to either pre-size all the fields and then make a 2nd pass to suck the data in, or you'd need to seriously change the way parsing is done, e.g. with a proper state machine. I think you can see why I just used fixed-size buffers and raced onwards instead. For what's probably the 47,938th time, I'll just remind everyone that the bloody thing was supposed to be a prototype. :-) - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010622003013G.jkh>