From: Juho S. <js...@us...> - 2008-06-02 03:08:01
|
Update of /cvsroot/sbcl/sbcl/contrib/sb-bsd-sockets In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv22263/contrib/sb-bsd-sockets Modified Files: constants.lisp name-service.lisp Log Message: 1.0.17.16: Stop using EAI_NODATA * EAI_NODATA is deprecated since RFC 3493, and has now been removed from glibc headers. Stop using it in sb-bsd-sockets. Fixes Fedora Core 9 build. Index: constants.lisp =================================================================== RCS file: /cvsroot/sbcl/sbcl/contrib/sb-bsd-sockets/constants.lisp,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- constants.lisp 8 Oct 2007 06:19:26 -0000 1.18 +++ constants.lisp 2 Jun 2008 03:07:57 -0000 1.19 @@ -288,8 +288,6 @@ (:integer EAI-SERVICE "EAI_SERVICE") #-freebsd (:integer EAI-ADDRFAMILY "EAI_ADDRFAMILY") - #-freebsd - (:integer EAI-NODATA "EAI_NODATA") (:integer EAI-MEMORY "EAI_MEMORY") (:integer EAI-FAIL "EAI_FAIL") (:integer EAI-AGAIN "EAI_AGAIN") Index: name-service.lisp =================================================================== RCS file: /cvsroot/sbcl/sbcl/contrib/sb-bsd-sockets/name-service.lisp,v retrieving revision 1.20 retrieving revision 1.21 diff -u -d -r1.20 -r1.21 --- name-service.lisp 13 Mar 2008 10:32:44 -0000 1.20 +++ name-service.lisp 2 Jun 2008 03:07:57 -0000 1.21 @@ -230,8 +230,11 @@ sockint::EAI-FAIL no-recovery-error) (define-name-service-condition - sockint::NO-ADDRESS ;; Also defined as NO-DATA, with the same value - #-freebsd sockint::EAI-NODATA #+freebsd nil + ;; Also defined as NO-DATA, with the same value + sockint::NO-ADDRESS + ;; getaddrinfo() as of RFC 3493 can no longer distinguish between + ;; host no found and address not found + nil no-address-error) (defun condition-for-name-service-errno (err) |