[iolib-devel] remote-host on a closed socket.
Pascal J. Bourguignon
pjb at informatimago.com
Sat Aug 14 02:47:20 UTC 2010
When calling remote-host on a closed socket, we get an unrelated type
error (on ECL, about NIL not being a FIXNUM).
By analogy to CL:CLOSE, I think it would be better if it returned the
remote-host of the last connection, or either return NIL or a specific
condition (which would be guaranted to be the same on all
implementations).
(let ((s (open "/etc/passwd")))
(close s)
(pathname s))
--> #P"/etc/passwd"
--
__Pascal Bourguignon__ http://www.informatimago.com/
More information about the iolib-devel
mailing list