You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by ro...@apache.org on 2006/10/03 17:07:45 UTC

svn commit: r452527 - in /apr/apr/trunk: CHANGES poll/unix/kqueue.c

Author: rooneg
Date: Tue Oct  3 08:07:44 2006
New Revision: 452527

URL: http://svn.apache.org/viewvc?view=rev&rev=452527
Log:
Fix PR 40662.

Submitted by: Larry Cipriani <lvc lucent.com>

* poll/unix/kqueue.c
  (apr_pollset_create): Fix error checking.

* CHANGES: Note change.

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

Modified: apr/apr/trunk/CHANGES
URL: http://svn.apache.org/viewvc/apr/apr/trunk/CHANGES?view=diff&rev=452527&r1=452526&r2=452527
==============================================================================
--- apr/apr/trunk/CHANGES (original)
+++ apr/apr/trunk/CHANGES Tue Oct  3 08:07:44 2006
@@ -1,4 +1,7 @@
 Changes for APR 1.3.0
+  *) Fix error checking in kqueue version of apr_pollset_create.
+     PR 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/kqueue.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/poll/unix/kqueue.c?view=diff&rev=452527&r1=452526&r2=452527
==============================================================================
--- apr/apr/trunk/poll/unix/kqueue.c (original)
+++ apr/apr/trunk/poll/unix/kqueue.c Tue Oct  3 08:07:44 2006
@@ -75,7 +75,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;
     }