From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27193 invoked by alias); 19 Jul 2013 11:53:49 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 27179 invoked by uid 89); 19 Jul 2013 11:53:49 -0000 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 Received: from Unknown (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 19 Jul 2013 11:53:48 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V09Fg-00089F-2N for cygwin@cygwin.com; Fri, 19 Jul 2013 13:53:36 +0200 Received: from 119.201.52.138 ([119.201.52.138]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Jul 2013 13:53:36 +0200 Received: from jojelino by 119.201.52.138 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Jul 2013 13:53:36 +0200 To: cygwin@cygwin.com From: jojelino Subject: Re: sqlite defect Date: Fri, 19 Jul 2013 12:02:00 -0000 Message-ID: References: <51E703FB.1010300@etr-usa.com> <51E74AB4.7010508@etr-usa.com> <20130718085953.GC9628@calimero.vinschen.de> <20130719100329.GC20871@calimero.vinschen.de> <20130719100809.GD20871@calimero.vinschen.de> <20130719113009.GE20871@calimero.vinschen.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> X-SW-Source: 2013-07/txt/msg00393.txt.bz2 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