X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding :in-reply-to; q=dns; s=default; b=XN044lEZyuvg0tV+GKiyRMWTaFsYTy NHebwivNz5z4YmPuDdR6Nc1Y4urjW0qijQRV5wuWLaIYrpetf7xIWzr1o9CAzBRb ARh9XdQaIkz/z/3dRynqEGG1CKekniwEs7lihj/T7sH4PoUROl8I8GoO/SERRZU9 Bt1hhMsUpHAbQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding :in-reply-to; s=default; bh=cp3jDAs5KFQtD+7oQ8sLxRbvepY=; b=vb7+ Vqq1F1xMP1+81+0wEVh7wm2Knt1tECco9jZpv1J3YF2eAPH40SZgSzVO0AX8wubO Q3zSr5MzHolTsLy3/ifPcimCnlXk6pX82vB9E7Irdq3RMyQNF+piXM44bXretxCG 81FTTiPHkWr7ZMLgCrdKmn7VZyIq/2gjG6Z/aG4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=1.4 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,FSL_HELO_BARE_IP_2,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_NUMERIC_HELO,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1 To: cygwin AT cygwin DOT com From: jojelino Subject: Re: sqlite defect Date: Fri, 19 Jul 2013 20:53:21 +0900 Lines: 21 Message-ID: References: <51E703FB DOT 1010300 AT etr-usa DOT com> <51E74AB4 DOT 7010508 AT etr-usa DOT com> <20130718085953 DOT GC9628 AT calimero DOT vinschen DOT de> <20130719100329 DOT GC20871 AT calimero DOT vinschen DOT de> <20130719100809 DOT GD20871 AT calimero DOT vinschen DOT de> <20130719113009 DOT GE20871 AT calimero DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows NT 5.2; rv:25.0) Gecko/20100101 Thunderbird/25.0a1 In-Reply-To: <20130719113009.GE20871@calimero.vinschen.de> On 2013-07-19 PM 8:30, Corinna Vinschen wrote: > A valid testcase would help a lot, though. What you meant to do > was calling flock with LOCK_EX|LOCK_NB. > that's what exactly sqlite3 that uses the mandatory-locking did. reproducing the behavior was i meant to do. > And then again, your testcase works as designed. Not by me, but by > Microsoft. You can't overwrite an existing lock, even if hold by the > same file handle. See http://cygwin.com/cygwin-api/std-notes.html > Yes. the testcase works without mandatory locking. so i hope next sqlite3 release doesn't use mandatory locking feature of cygwin. someone who have plenty of time to waste digging into sqlite3 source code would come with workaround to the problem. > > Corinna > -- Regards. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple