apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yla...@apache.org
Subject svn commit: r1819935 - /apr/apr/trunk/poll/unix/epoll.c
Date Wed, 03 Jan 2018 09:46:40 GMT
Author: ylavic
Date: Wed Jan  3 09:46:39 2018
New Revision: 1819935

URL: http://svn.apache.org/viewvc?rev=1819935&view=rev
Log:
poll, epoll: pollset's pfd is not modified on poll(), mark it const.


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

Modified: apr/apr/trunk/poll/unix/epoll.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/poll/unix/epoll.c?rev=1819935&r1=1819934&r2=1819935&view=diff
==============================================================================
--- apr/apr/trunk/poll/unix/epoll.c (original)
+++ apr/apr/trunk/poll/unix/epoll.c Wed Jan  3 09:46:39 2018
@@ -274,7 +274,7 @@ static apr_status_t impl_pollset_poll(ap
     }
     else {
         int i, j;
-        apr_pollfd_t *fdptr;
+        const apr_pollfd_t *fdptr;
 
         for (i = 0, j = 0; i < ret; i++) {
             if (pollset->flags & APR_POLLSET_NOCOPY) {



Mime
View raw message