OSSP CVS Repository

ossp - Difference in ossp-pkg/pth/pth_high.c versions 1.93 and 1.94
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/pth/pth_high.c 1.93 -> 1.94

--- pth_high.c   2002/10/25 11:56:16     1.93
+++ pth_high.c   2002/10/25 11:59:18     1.94
@@ -378,8 +378,8 @@
             return 0;
         }
     }
-    if (rc < 0 && errno == EBADF)
-        return pth_error(-1, EBADF);
+    if (rc < 0 && (errno == EINVAL || errno == EBADF))
+        return pth_error(-1, errno);
 
     /* suspend current thread until one fd is ready or the timeout occurred */
     rc = -1;

CVSTrac 2.0.1