From e072a8570d0fc3513ec7639b9c1c5d3b03e2695e Mon Sep 17 00:00:00 2001 From: Nikodemus Siivola Date: Sat, 19 Nov 2011 21:48:09 +0200 Subject: [PATCH] sb-bsd-sockets: fix GET-HOST-BY-NAME and -ADDRESS on unthreaded builds (Platforms with getaddrinfo.) Broken by recent thread-safety fix for the same. --- contrib/sb-bsd-sockets/name-service.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/sb-bsd-sockets/name-service.lisp b/contrib/sb-bsd-sockets/name-service.lisp index 056bda3..0b731db 100644 --- a/contrib/sb-bsd-sockets/name-service.lisp +++ b/contrib/sb-bsd-sockets/name-service.lisp @@ -61,7 +61,7 @@ ;;; Resolving -#+(and sb-thread (not sb-bsd-sockets-addrinfo)) +#-sb-bsd-sockets-addrinfo (sb-ext:defglobal **gethostby-lock** (sb-thread:make-mutex :name "gethostby lock")) (defun get-host-by-name (host-name) -- 1.7.10.4