Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 87030 invoked from network); 28 Feb 2007 22:17:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Feb 2007 22:17:14 -0000 Received: (qmail 39294 invoked by uid 500); 28 Feb 2007 22:17:21 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 39247 invoked by uid 500); 28 Feb 2007 22:17:20 -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 39236 invoked by uid 99); 28 Feb 2007 22:17:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Feb 2007 14:17:20 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of justin.erenkrantz@gmail.com designates 209.85.132.241 as permitted sender) Received: from [209.85.132.241] (HELO an-out-0708.google.com) (209.85.132.241) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Feb 2007 14:17:09 -0800 Received: by an-out-0708.google.com with SMTP id c24so234831ana for ; Wed, 28 Feb 2007 14:16:48 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=ankw7Fy6gMQow0YaVQfVJ8guVbkry9RH2gWqFq/VTffHovDEIj+z/YocPqfGEbawUJtuu0IPsXs2KV3s8Vov5QZ1A24O5qqKRsFEAQVdH9aqemGSoUyjQdCYjDLTyep3T5HAcwIv9UU3VX49GdLuAU1UHIaIPEzUtAn3GS6s5ic= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=X6VRzSbBY8C+rJF02TCl8+ETapPByNZBBW3e2kAmvF7BzspRj9K43ki7qa5lAURwn2ORoIGM7Q5Lsc+LEhDnkd/K3vjYOLrOkZP1xPWEdm78VcIl5iwxxOByAWLuByFYoFyJV5gLAkh6pmQI0u+VVl267dpcoDlTLTNgDy7goAs= Received: by 10.114.157.1 with SMTP id f1mr336915wae.1172701003848; Wed, 28 Feb 2007 14:16:43 -0800 (PST) Received: by 10.114.192.2 with HTTP; Wed, 28 Feb 2007 14:16:43 -0800 (PST) Message-ID: <5c902b9e0702281416o41d74ed2wb92e01b3ef3ec81d@mail.gmail.com> Date: Wed, 28 Feb 2007 14:16:43 -0800 From: "Justin Erenkrantz" Sender: justin.erenkrantz@gmail.com To: "William A. Rowe, Jr." Subject: Re: svn commit: r512557 - in /apr/apr-util/trunk: CHANGES dbm/sdbm/sdbm.c Cc: dev@apr.apache.org In-Reply-To: <45E5E5B2.3040703@rowe-clan.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070228014733.1D0C61A981A@eris.apache.org> <45E4E908.8000804@rowe-clan.net> <5c902b9e0702272028x35473377uac613c78a9ce1f1a@mail.gmail.com> <45E542EB.2050809@rowe-clan.net> <5c902b9e0702280112x25d6d5afy294c0119b46353b9@mail.gmail.com> <20070228104507.GA23630@redhat.com> <5c902b9e0702280829t30101d48o137300f56f345962@mail.gmail.com> <20070228165144.GA31587@redhat.com> <45E5E488.9040602@rowe-clan.net> <45E5E5B2.3040703@rowe-clan.net> X-Google-Sender-Auth: 8b5c14eddadea87a X-Virus-Checked: Checked by ClamAV on apache.org On 2/28/07, William A. Rowe, Jr. wrote: > Another alternative, we can either write lock the file by all readers, > or perhaps easier but probably more cpu intensive, lstat to pick up the > modification stamp? SDBM already takes out a shared file lock when opening the file - so it does exactly this. If you want to remove BUFFERED when SHARELOCK is set, please be my guest as the DBD layers don't use that flag. -- justin