apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r902077 - /apr/apr/trunk/poll/unix/port.c
Date Fri, 22 Jan 2010 12:52:16 GMT
Author: trawick
Date: Fri Jan 22 12:52:16 2010
New Revision: 902077

URL: http://svn.apache.org/viewvc?rev=902077&view=rev
Log:
fix compile failure in pollcb wakeup logic on Solaris >= 10

Modified:
    apr/apr/trunk/poll/unix/port.c

Modified: apr/apr/trunk/poll/unix/port.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/poll/unix/port.c?rev=902077&r1=902076&r2=902077&view=diff
==============================================================================
--- apr/apr/trunk/poll/unix/port.c (original)
+++ apr/apr/trunk/poll/unix/port.c Fri Jan 22 12:52:16 2010
@@ -551,10 +551,10 @@
         for (i = 0; i < nget; i++) {
             apr_pollfd_t *pollfd = (apr_pollfd_t *)(pollcb->pollset.port[i].portev_user);
 
-            if ((pollfd->flags & APR_POLLSET_WAKEABLE) &&
+            if ((pollcb->flags & APR_POLLSET_WAKEABLE) &&
                 pollfd->desc_type == APR_POLL_FILE &&
-                pollfd->desc.f == pollfd->wakeup_pipe[0]) {
-                drain_wakeup_pipe(pollfd->wakeup_pipe);
+                pollfd->desc.f == pollcb->wakeup_pipe[0]) {
+                drain_wakeup_pipe(pollcb->wakeup_pipe);
                 return APR_EINTR;
             }
 



Mime
View raw message