diff options
Diffstat (limited to 'unix')
| -rw-r--r-- | unix/Makefile.in | 8 | ||||
| -rw-r--r-- | unix/tclUnixSock.c | 6 | 
2 files changed, 10 insertions, 4 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in index 0d6d337..2283c0b 100644 --- a/unix/Makefile.in +++ b/unix/Makefile.in @@ -308,7 +308,8 @@ GENERIC_OBJS = regcomp.o regexec.o regfree.o regerror.o tclAlloc.o \  	tclStrToD.o tclThread.o \  	tclThreadAlloc.o tclThreadJoin.o tclThreadStorage.o tclStubInit.o \  	tclTimer.o tclTrace.o tclUtf.o tclUtil.o tclVar.o tclZlib.o \ -	tclTomMathInterface.o +	tclTomMathInterface.o \ +	tclAssembly.o  OO_OBJS = tclOO.o tclOOBasic.o tclOOCall.o tclOODefineCmds.o tclOOInfo.o \  	tclOOMethod.o tclOOStubInit.o @@ -384,6 +385,7 @@ GENERIC_SRCS = \  	$(GENERIC_DIR)/regfree.c \  	$(GENERIC_DIR)/regerror.c \  	$(GENERIC_DIR)/tclAlloc.c \ +	$(GENERIC_DIR)/tclAssembly.c \  	$(GENERIC_DIR)/tclAsync.c \  	$(GENERIC_DIR)/tclBasic.c \  	$(GENERIC_DIR)/tclBinary.c \ @@ -452,6 +454,7 @@ GENERIC_SRCS = \  	$(GENERIC_DIR)/tclTrace.c \  	$(GENERIC_DIR)/tclUtil.c \  	$(GENERIC_DIR)/tclVar.c \ +	$(GENERIC_DIR)/tclAssembly.c \  	$(GENERIC_DIR)/tclZlib.c  OO_SRCS = \ @@ -1012,6 +1015,9 @@ tclAppInit.o: $(UNIX_DIR)/tclAppInit.c  tclAlloc.o: $(GENERIC_DIR)/tclAlloc.c  	$(CC) -c $(CC_SWITCHES) -DUSE_TCLALLOC=0 $(GENERIC_DIR)/tclAlloc.c +tclAssembly.o: $(GENERIC_DIR)/tclAssembly.c $(COMPILEHDR) +	$(CC) -c $(CC_SWITCHES) $(GENERIC_DIR)/tclAssembly.c +  tclAsync.o: $(GENERIC_DIR)/tclAsync.c  	$(CC) -c $(CC_SWITCHES) $(GENERIC_DIR)/tclAsync.c diff --git a/unix/tclUnixSock.c b/unix/tclUnixSock.c index f567447..db86d61 100644 --- a/unix/tclUnixSock.c +++ b/unix/tclUnixSock.c @@ -523,7 +523,7 @@ TcpCloseProc(       * handlers are already deleted in the generic IO channel closing code       * that called this function, so we do not have to delete them here.       */ -     +      for (fds = statePtr->fds; fds != NULL; fds = statePtr->fds) {  	statePtr->fds = fds->next;  	Tcl_DeleteFileHandler(fds->fd); @@ -660,7 +660,7 @@ TcpGetOptionProc(  		Tcl_DStringAppendElement(dsPtr, "-peername");  		Tcl_DStringStartSublist(dsPtr);  	    } -             +  	    getnameinfo(&peername.sa, size, host, sizeof(host), NULL, 0,                      NI_NUMERICHOST);  	    Tcl_DStringAppendElement(dsPtr, host); @@ -1319,7 +1319,7 @@ TcpAccept(      socklen_t len;		/* For accept interface */      char channelName[16 + TCL_INTEGER_SPACE];      char host[NI_MAXHOST], port[NI_MAXSERV]; -     +      fds = (TcpFdList *) data;      len = sizeof(addr);  | 
