1.0.3.25: freebsd sb-bsd-sockets fixes
authorCyrus Harmon <ch-sbcl@bobobeach.com>
Sat, 3 Mar 2007 20:53:15 +0000 (20:53 +0000)
committerCyrus Harmon <ch-sbcl@bobobeach.com>
Sat, 3 Mar 2007 20:53:15 +0000 (20:53 +0000)
 * SO_NO_CHECK doesn't exist on freebsd. Make this #-freebsd.
 * EAI-ADDRFAMILY and EAI-NODATA are deprecated and don't exist on
   freebsd. Make these #-freebsd.

contrib/sb-bsd-sockets/constants.lisp
contrib/sb-bsd-sockets/name-service.lisp
version.lisp-expr

index 96d11a1..5cd6f72 100644 (file)
@@ -47,6 +47,7 @@
            "Send periodic keepalives: if peer does not respond, we get SIGPIPE")
  (:integer so-oobinline "SO_OOBINLINE"
            "Put out-of-band data into the normal input queue when received")
+ #-freebsd
  (:integer so-no-check "SO_NO_CHECK")
  #+linux (:integer so-priority "SO_PRIORITY")
  (:integer so-linger "SO_LINGER"
  (:integer EAI-BADFLAGS "EAI_BADFLAGS")
  (:integer EAI-NONAME "EAI_NONAME")
  (: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")
index dfa826b..f375562 100644 (file)
@@ -222,7 +222,7 @@ GET-NAME-SERVICE-ERRNO")
     no-recovery-error)
 (define-name-service-condition
     sockint::NO-ADDRESS  ;; Also defined as NO-DATA, with the same value
-    sockint::EAI-NODATA
+    #-freebsd sockint::EAI-NODATA #+freebsd nil
     no-address-error)
 
 (defun condition-for-name-service-errno (err)
index 7f3f2b3..3f1e1d8 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.3.24"
+"1.0.3.25"