Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 84200 invoked from network); 9 Apr 2010 21:01:55 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Apr 2010 21:01:55 -0000 Received: (qmail 92868 invoked by uid 500); 9 Apr 2010 21:01:54 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 92687 invoked by uid 500); 9 Apr 2010 21:01:54 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 92680 invoked by uid 99); 9 Apr 2010 21:01:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Apr 2010 21:01:54 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=AWL,FREEMAIL_FROM,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of trawick@gmail.com designates 74.125.83.50 as permitted sender) Received: from [74.125.83.50] (HELO mail-gw0-f50.google.com) (74.125.83.50) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Apr 2010 21:01:50 +0000 Received: by gwj16 with SMTP id 16so911858gwj.37 for ; Fri, 09 Apr 2010 14:01:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Vsa0zMmczjzqjcETI8RYoqtv32QZo+mpsKYh1KRxbfY=; b=H/8Rv5wwYsHBd8DKJdsXL8Utt3d/x2s3+CQnsXBySax9ufXmDLweL7NgbCj/s7teET d1XPi7h4o7hkjgMxHmbkSARt0jlbmXHXnZRlRZtufqiB+5e3P7wUSmGPoYSgRNa5k9x3 4vcskeGhrkuv5fk45Fu/tJufauYY1by5tocL8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Dz6cvK9r+MBJOvFfYNybJ111ruoxPI6Pt6acuEQlDwfs4QdUjlUrDmGHu/MkmZHaU8 PcgLTMxVr3LJT++hEADX/SyNOMb/cD7oUvy7G+J+0YxaDV0mK9l6SOB+xJ/zB/U/NWA7 tG+26htKTJcNBL1KJTvbBHjBXZ1B9V38bSa9A= MIME-Version: 1.0 Received: by 10.100.14.19 with HTTP; Fri, 9 Apr 2010 14:01:29 -0700 (PDT) In-Reply-To: References: <38BDBF8B-717D-4FD4-814F-EB141452AD03@apache.org> Date: Fri, 9 Apr 2010 17:01:29 -0400 Received: by 10.100.39.20 with SMTP id m20mr976305anm.110.1270846889370; Fri, 09 Apr 2010 14:01:29 -0700 (PDT) Message-ID: Subject: Re: [PATCH] bug in pollset_wakeup() + nocopy From: Jeff Trawick To: APR Developer List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Mon, Mar 29, 2010 at 5:53 PM, Neil Conway wrote: > On Mon, Mar 29, 2010 at 2:14 PM, Nick Kew wrote: >> I don't see the patch in this post. =A0Is it small/simple/clear enough t= o >> review in a brief-ish session? > > Yep, should be very straightforward. Attached are two versions of the > patch (one for the 1.4.x branch, one for trunk). The reasoning for the > fix is simple (APR_POLLSET_NOCOPY =3D=3D don't pass a stack-allocated > pollfd_t to pollset_add()), and discussed in earlier emails: > > http://markmail.org/message/izj3zpc65sckzuao finally committed to 1.4.x-trunk Neil, you mentioned earlier in the thread: >Note that if you want to backport this bug fix to the 1.4 branch, the >previous version of the patch should be used. But perhaps the easiest >route is to first backport the pollcb_wakeup() change, and then apply >this version of the patch. As I understand it, the pollcb changes you refer to are for a new API, which can't be added to 1.4.x at this point; is that "new API" understanding correct? Anyway, there's no reason it can't go to 1.5.x; care to post a patch to get 1.5.x caught up?