>>>>> "David" == David Reiss <dreiss@cs.brown.edu> writes:
David> A minor bug in 0.6.0:
David> bind-socket attempts to call string-length on a socket-address structure
David> directly, rather than calling socket-address->unix-address first.
David> The following patch (also attached) fixes this:
David> --- scsh/network.scm.old Wed Feb 13 02:53:03 2002
David> +++ scsh/network.scm Wed Feb 13 02:41:28 2002
David> @@ -204,7 +204,7 @@
David> "bind-socket: trying to bind incompatible address to
socket ~s"
David> name))
David> ((and (= family address-family/unix)
David> - (> (string-length name) 107))
David> + (> (string-length (socket-address->unix-address
name)) 107))
David> (error "bind-socket: path too long" name))
David> (else
David> (%bind (socket->fdes sock)
The fix will be in 0.6.1.
Thanks for the report!
--
Martin
|