From: Matt Birkholz Date: Sat, 6 Dec 2014 05:53:34 +0000 (-0700) Subject: smp: share: uxsock.o X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=6e7ddb0754d2606d27e845242a82412189c96b75;p=mit-scheme.git smp: share: uxsock.o --- diff --git a/README.txt b/README.txt index 2b5e70c6e..998d170b3 100644 --- a/README.txt +++ b/README.txt @@ -794,7 +794,9 @@ command line. The remaining 12 belong to the 7 microcode modules and OK. uxsock.o: - 00000000 b address.8832 + 00000000 b address.8832 auto + + OK. This variable is now auto (thread-local). uxterm.o: 00000008 b slave_name.9024 diff --git a/src/microcode/uxsock.c b/src/microcode/uxsock.c index e52674e51..01be9d285 100644 --- a/src/microcode/uxsock.c +++ b/src/microcode/uxsock.c @@ -24,6 +24,7 @@ USA. */ +#include "scheme.h" #include "ux.h" #include "osio.h" @@ -31,7 +32,6 @@ USA. #include "uxsock.h" #include "uxio.h" -#include "prims.h" static void do_connect (int, struct sockaddr *, socklen_t); @@ -296,7 +296,7 @@ OS_server_connection_accept (Tchannel channel, void * peer_host, unsigned int * peer_port) { - static struct sockaddr_in address; + struct sockaddr_in address; socklen_t address_length = (sizeof (struct sockaddr_in)); int s; memset((&address), 0, (sizeof (address)));