newlisp OS X Lion Bus Error
Posted: Mon Aug 15, 2011 12:13 am
I have a program I've been running for many months. I upgraded to newLisp 10.3.2 and to OS X Lion.
Now, running
And loading my index.cgi (unchanged) through the "server.lsp" code (see below) causes a BUS ERROR.
Again, code worked on 10.6.x and newlisp 10.3.1. Is there something that changed and I missed it in the newlisp web code?
Now, running
Code: Select all
newlisp server.lsp -c -d 8080 -w .
sh: line 1: 22042 Bus error: 10
./"index.cgi" > /tmp/nl490825a2887b33a41d
Code: Select all
#!/usr/bin/env newlisp
(command-event (fn (s)
(local (request)
(if (find "?" s) ; is this a query
(set 'request (first (parse s "?")))
(set 'request s)
)
request)
))