From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 73765 invoked by alias); 8 Sep 2015 10:36:39 -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 73633 invoked by uid 89); 8 Sep 2015 10:36:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f173.google.com Received: from mail-wi0-f173.google.com (HELO mail-wi0-f173.google.com) (209.85.212.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 08 Sep 2015 10:36:37 +0000 Received: by wiclk2 with SMTP id lk2so114990226wic.0 for ; Tue, 08 Sep 2015 03:36:34 -0700 (PDT) X-Received: by 10.194.87.69 with SMTP id v5mr43860002wjz.140.1441708594212; Tue, 08 Sep 2015 03:36:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.144.196 with HTTP; Tue, 8 Sep 2015 03:35:54 -0700 (PDT) Reply-To: fracting@gmail.com In-Reply-To: <20150908085854.GB24811@calimero.vinschen.de> References: <20150908085854.GB24811@calimero.vinschen.de> From: Qian Hong Date: Tue, 08 Sep 2015 10:36:00 -0000 Message-ID: Subject: Re: Question about flock - potential memory corruption? To: cygwin Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00124.txt.bz2 Hi Corinna, Thanks a lot for your time. On Tue, Sep 8, 2015 at 4:58 PM, Corinna Vinschen wrote: > I'd still be glad to stick to upstream Cygwin, but, oh well. Understand, will take care of that. > Please try the attached patch. Thanks a lot for the patch, I can confirm it works for me, flock() doesn't fail on Wine anymore. Also, valgrind doesn't report the previous warnings. Once you have snapshot build I'm glad to retest. Thanks! -- Regards, Qian Hong - http://www.winehq.org -- 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