X-Recipient: archive-cygwin@delorie.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:mime-version:reply-to:in-reply-to:references
	:from:date:message-id:subject:to:content-type; q=dns; s=default; b=
	JfEFcGr7Id3swfP8ocxns/TP1bhFe7ctM86tnSMwLcZzY8C5q4yQptmeWG/4UjjM
	LKYhrm9mq7qwBQB+dSkonkQnIYoa5OVwhyrqYGtaIG97P6HwHW71jmxABQFCXENQ
	VwJzObU+m+0SPN4nSdb8sTANNI3CKsiCsCfPLNtPMKg=
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:mime-version:reply-to:in-reply-to:references
	:from:date:message-id:subject:to:content-type; s=default; bh=duS
	tlR3xmJW1OTq/F0oE+GNN6gU=; b=Ha6Yyuw5Nl2EOwOUVjH0zcQYwHUm2A3LkTP
	rwvgJtAsuZfLQ3or3C5bqoNSA4+Ixx6RCWM3ZwDq5rLIue8e12Xu0yCJO2vrpTQi
	91TVa0md4PFUQSoxbujneNT0FC+yZTlrqJ1eoGcKb+S5g32mmRIyR616KNFFcyP4
	RO0SS9Aw=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
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
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
Reply-To: fracting@gmail.com
In-Reply-To: <20150908085854.GB24811@calimero.vinschen.de>
References: <CALd+sZRo_Nyv=adF5DeeHiShJsxGD+KUPqkDMKb3q47a2Nm=8Q@mail.gmail.com> <20150908085854.GB24811@calimero.vinschen.de>
From: Qian Hong <fracting@gmail.com>
Date: Tue, 8 Sep 2015 18:35:54 +0800
Message-ID: <CALd+sZTCJPw2=NObcZ6-522C=yXZ8xiix69dEy2BsAEWUyG7qA@mail.gmail.com>
Subject: Re: Question about flock - potential memory corruption?
To: cygwin <cygwin@cygwin.com>
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

Hi Corinna,

Thanks a lot for your time.

On Tue, Sep 8, 2015 at 4:58 PM, Corinna Vinschen
<corinna-cygwin@cygwin.com> 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

