apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From roo...@apache.org
Subject svn commit: r454403 - in /apr/apr/trunk: CHANGES poll/unix/port.c
Date Mon, 09 Oct 2006 15:22:01 GMT
Author: rooneg
Date: Mon Oct  9 08:22:00 2006
New Revision: 454403

URL: http://svn.apache.org/viewvc?view=rev&rev=454403
Log:
Fix bug in pollset creation error checking.

Submitted by: Larry Cipriani <lvc lucent.com>

* poll/unix/port.c
  (apr_pollset_create): Fix typo in error checking for mutex creation.

* CHANGES: Consolidate entries for the pollset typo fixes.

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

Modified: apr/apr/trunk/CHANGES
URL: http://svn.apache.org/viewvc/apr/apr/trunk/CHANGES?view=diff&rev=454403&r1=454402&r2=454403
==============================================================================
--- apr/apr/trunk/CHANGES (original)
+++ apr/apr/trunk/CHANGES Mon Oct  9 08:22:00 2006
@@ -1,9 +1,7 @@
 Changes for APR 1.3.0
-  *) Fix error checking in epoll version of apr_pollset_create.
-     PR 40660 [Larry Cipriani <lvc lucent.com>]
-
-  *) Fix error checking in kqueue version of apr_pollset_create.
-     PR 40662 [Larry Cipriani <lvc lucent.com>]
+  *) Fix error checking in kqueue, epoll and event port versions of
+     apr_pollset_create.  PR 40660, 40661, 40662
+     [Larry Cipriani <lvc lucent.com>]
 
   *) Add some documentation on the format matched by apr_fnmatch.
      [David Glasser <glasser mit.edu>]

Modified: apr/apr/trunk/poll/unix/port.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/poll/unix/port.c?view=diff&rev=454403&r1=454402&r2=454403
==============================================================================
--- apr/apr/trunk/poll/unix/port.c (original)
+++ apr/apr/trunk/poll/unix/port.c Mon Oct  9 08:22:00 2006
@@ -100,7 +100,7 @@
     if (flags & APR_POLLSET_THREADSAFE &&
         ((rv = apr_thread_mutex_create(&(*pollset)->ring_lock,
                                        APR_THREAD_MUTEX_DEFAULT,
-                                       p) != APR_SUCCESS))) {
+                                       p)) != APR_SUCCESS)) {
         *pollset = NULL;
         return rv;
     }



Mime
View raw message