[usocket-cvs] r484 - in usocket/branches/experimental-udp: . backend

Chun Tian (binghe) ctian at common-lisp.net
Fri Dec 26 14:30:55 UTC 2008


Author: ctian
Date: Fri Dec 26 14:30:55 2008
New Revision: 484

Log:
[udp] merge recent fixes (r481, r483) from trunk

Modified:
   usocket/branches/experimental-udp/backend/sbcl.lisp
   usocket/branches/experimental-udp/condition.lisp

Modified: usocket/branches/experimental-udp/backend/sbcl.lisp
==============================================================================
--- usocket/branches/experimental-udp/backend/sbcl.lisp	(original)
+++ usocket/branches/experimental-udp/backend/sbcl.lisp	Fri Dec 26 14:30:55 2008
@@ -378,7 +378,7 @@
                 (1+ (reduce #'max (wait-list-%wait sockets)
                             :key #'sb-bsd-sockets:socket-file-descriptor))
                 (sb-alien:addr rfds) nil nil
-                (when timeout secs) musecs)
+                (when timeout secs) (when timeout musecs))
 	     (if (null count)
 		 (unless (= err sb-unix:EINTR)
 		   (error (map-errno-error err)))

Modified: usocket/branches/experimental-udp/condition.lisp
==============================================================================
--- usocket/branches/experimental-udp/condition.lisp	(original)
+++ usocket/branches/experimental-udp/condition.lisp	Fri Dec 26 14:30:55 2008
@@ -184,7 +184,7 @@
     ((9) . bad-file-descriptor-error)
     ((61 111) . connection-refused-error)
     ((64 131) . connection-reset-error)
-    ((130) . connection-aborted-error)
+    ((53 103) . connection-aborted-error)
     ((22) . invalid-argument-error)
     ((55 105) . no-buffers-error)
     ((12) . out-of-memory-error)




More information about the usocket-cvs mailing list