On Mon, Dec 22, 2008 at 3:28 PM, John Cowan <[email protected]> wrote:
> BTW, there is a bug in this code: if it's passed an improper list, it
> goes off into hyperspace.

Yes.  It will also crash if there is a non-string element in the list.
 I also forget, every time, that C_c_string does not null-terminate
its return string.

I attached a safer version.

Attachment: stringlist.scm
Description: Binary data

_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to