Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 68879 invoked from network); 9 Oct 2006 15:22:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Oct 2006 15:22:24 -0000 Received: (qmail 24335 invoked by uid 500); 9 Oct 2006 15:22:23 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 24312 invoked by uid 500); 9 Oct 2006 15:22:23 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 24280 invoked by uid 99); 9 Oct 2006 15:22:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Oct 2006 08:22:23 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Oct 2006 08:22:21 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 546AB1A981A; Mon, 9 Oct 2006 08:22:01 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r454403 - in /apr/apr/trunk: CHANGES poll/unix/port.c Date: Mon, 09 Oct 2006 15:22:01 -0000 To: commits@apr.apache.org From: rooneg@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20061009152201.546AB1A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 * 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 ] - - *) Fix error checking in kqueue version of apr_pollset_create. - PR 40662 [Larry Cipriani ] + *) Fix error checking in kqueue, epoll and event port versions of + apr_pollset_create. PR 40660, 40661, 40662 + [Larry Cipriani ] *) Add some documentation on the format matched by apr_fnmatch. [David Glasser ] 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; }