dpapathanasiou <denis.papathanasiou@gmail.com> wrote:
+---------------
| I'd been running modlisp in a test environment,
| and I'd get these errors, in rare cases:
| Error in function UNIX::SIGPIPE-HANDLER: SIGPIPE at #x6E87A2.
+---------------
This happens when a user hits "Stop" or closes a window on the browser
before the page finishes downloading. Get used to it -- it will happen
a *lot* more odten when you go into production with your site.
While the other repliers gave you good advice about avoiding namespace
conflicts, I'm going to suggest something radically different which I
learned from Dan Barlow [thanks, Dan!]:
Instead of trying to *handle* SIGPIPE, simply *ignore* it instead
(set it to SIG_IGN), and handle the much simpler I/O errors you're
going to get when you WRITE (or PRINC or FORMAT) into a closed pipe
or socket. Code for doing this in CMUCL may be found here:
http://groups.google.com/group/comp.lang.lisp/msg/ee284119a99c0d68
-Rob
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607