Hi
The attached patch allows the reader to read strings longer than 255 characters, by making the buffer size dynamic. It is doubled whenever it is found to be too small. We found we needed this for working with database queries, documentation strings etc. Do you think this is the right approach?
Thanks!
Thomas Munro
I'd like to see this patch merged. My workaround was to make that limit configurable, but this is much nicer of course.
A little nitpick, I'd avoid "p-sc->strbuff" in favor of "p - sc->strbuff". I've seen that the original code used the former version too, but that looks just wrong to my eyes.
+1 to adding spaces around the minus operator :-) Would be great to see this and other old patches in the queue eventually land in official upstream TinyScheme 1.43.