Attached is a patch that simply changes the pathname. Regards,
Joey -- Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. Please always Cc to me when replying to me on the lists.
diff -u -p -Nr --exclude CVS orig/spread-3.17.2/session.c spread-3.17.2/session.c --- orig/spread-3.17.2/session.c 2004-03-05 01:32:46.000000000 +0100 +++ spread-3.17.2/session.c 2006-06-29 09:20:03.000000000 +0200 @@ -406,7 +406,7 @@ void Sess_init() Alarm( EXIT, "Sess_init: UNIX sock error\n" ); unix_addr.sun_family = AF_UNIX; - sprintf( name, "/tmp/%d",My.port ); + sprintf( name, "/var/run/%d",My.port ); strcpy( unix_addr.sun_path, name ); unlink( name ); diff -u -p -Nr --exclude CVS orig/spread-3.17.2/sp.c spread-3.17.2/sp.c --- orig/spread-3.17.2/sp.c 2006-06-29 09:19:46.000000000 +0200 +++ spread-3.17.2/sp.c 2006-06-29 09:19:20.000000000 +0200 @@ -551,7 +551,7 @@ int SP_connect_timeout( const char *spre Alarm( SESSION, "SP_connect: set sndbuf/rcvbuf to %d\n", 1024*(i-5) ); unix_addr.sun_family = AF_UNIX; - sprintf( unix_addr.sun_path, "/tmp/%d", port ); + sprintf( unix_addr.sun_path, "/var/run/%d", port ); while( ((ret = connect( s, (struct sockaddr *)&unix_addr, sizeof(unix_addr) )) == -1) && ((sock_errno == EINTR) || (sock_errno == EAGAIN) || (sock_errno == EWOULDBLOCK)) ) {