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/09 17:22:01 UTC
svn commit: r454403 - in /apr/apr/trunk: CHANGES poll/unix/port.c
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;
}