apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r748879 - /apr/apr/trunk/poll/unix/port.c
Date Sat, 28 Feb 2009 16:19:46 GMT
Author: trawick
Date: Sat Feb 28 16:19:46 2009
New Revision: 748879

URL: http://svn.apache.org/viewvc?rev=748879&view=rev
Log:
fix compile failure on Solaris

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=748879&r1=748878&r2=748879&view=diff
==============================================================================
--- apr/apr/trunk/poll/unix/port.c (original)
+++ apr/apr/trunk/poll/unix/port.c Sat Feb 28 16:19:46 2009
@@ -410,11 +410,11 @@
     {
         int flags;
 
-        if ((flags = fcntl(fd, F_GETFD)) == -1)
+        if ((flags = fcntl(pollcb->fd, F_GETFD)) == -1)
             return errno;
 
         flags |= FD_CLOEXEC;
-        if (fcntl(fd, F_SETFD, flags) == -1)
+        if (fcntl(pollcb->fd, F_SETFD, flags) == -1)
             return errno;
     }
 



Mime
View raw message