Um, first, sorry to scsh-bugs and to Olin for not Ccing
scsh-bugs on the last bug report (involving socket-address->unix-address)...
There is an apparent bug in scsh/network1.c in
name.sun_path[scheme_length+1]='\0'; /* add null */
On SPARCs, this works OK; we always bind to the correct
However, on i386en, if one does
(define (ow s sa) (close-socket s))
(bind-listen-accept-loop protocl-family/unix ow "/tmp/ZZZZ")
we create /tmp/ZZZZ just fine. However, if we interrupt
this and then try the (bind-...) call again with the same
arguments, we end up creating "/tmp/ZZZZ?".
Removing the +1 above works on both platforms.
Just in case something's weird:
NetBSD titan.sprintlink.net 1.2_BETA NetBSD 1.2_BETA (TITAN) #1: Fri Jul 19
06:35:48 EDT 1996
NetBSD isis.sprintlink.net 1.2_BETA NetBSD 1.2_BETA (ISIS) #1: Fri Jul 19
14:44:35 PDT 1996
however, I suspect that [scheme_length] on its own is
I suppose I want to do the same thing in scheme_connect()