From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Thu, 3 Feb 2011 08:01:51 -0500 To: 9fans@9fans.net Message-ID: In-Reply-To: <9539b0d95f3e8292391496188285d155@terzarima.net> References: <9539b0d95f3e8292391496188285d155@terzarima.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] RESOLVED: recoving important header file rudely Topicbox-Message-UUID: aa6c7724-ead6-11e9-9d60-3106f5b1d025 On Thu Feb 3 04:36:35 EST 2011, forsyth@terzarima.net wrote: > > The finished version will support strings backed by file storage > > string(2) doesn't go quite that far, but is used by the mailer upas > and perhaps other things to reduce the instances of arbitrarily low limits > and bounds exceeded. unfortunately string has an clunky interface. s_to_c, etc. and it begets clunky hacks that assume implementation. but i don't think you can do much better with the interface in c. Rune*s don't work very well and they've essentially doubled the functions in the c library. i think you're better off with char*s and realloc. it's worth looking at the heavy machinery in sam and acme, though, and comparing against ed. - erik