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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=H/5rmp5eZVpq40n4z1nwvPnMgSij52g7N3kuhD0dVOnWxWn2sfrXx jZ/NEnwTg5ZM8xAW/xKmFV4NN4jBzp52wdq0LaSlSnuSKrPNCeOUBCqhcy7Yk3/t 3zEsDDC/dsqEMdpkBWu9Z5etXpWL8g+N9wtpBl3Juv768KqRclRXh8= 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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=Igm5qb1LO9n4S28FJ7EsGSkzSag=; b=xnOm4xLWowcw7D/uQ32Hvu024mzN UtFYrvY3MF9cioPL3aO10aURnoF+ap27I2sL11edH4qb9XE+3hvwkPX67x3GWdds 4a/cvG5UO2CUseeBNI8Vg8Jsjb762M2mOKRAtkNVbM1TcWE8tlQhNQxMlcZpWH7D Yd3on5HIY/kF6xM= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Thu, 4 Dec 2014 10:42:55 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Fatal error using flock Message-ID: <20141204094255.GE3810@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <547fa827 DOT 02996b0a DOT 02fc DOT ffffaf7b AT mx DOT google DOT com> <20141204093352 DOT GB3810 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HxOxd3Hfl5FMJYiY" Content-Disposition: inline In-Reply-To: <20141204093352.GB3810@calimero.vinschen.de> User-Agent: Mutt/1.5.23 (2014-03-12) --HxOxd3Hfl5FMJYiY Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Dec 4 10:33, Corinna Vinschen wrote: > On Dec 3 18:25, Kyle R. wrote: > > On Dec 2 16:52, Corinna Vinshen wrote: > ^^^^^^^ > oops > > > Ouch. The handle in the parent got created non-inheritable. That's > > > bad if the handle is utilized in subsequent child processes which rely > > > on being able to access the handle. > > >=20 > > > I applied a patch and created a new developer snapshot on > > > https://cygwin.com/snapshots/ > > >=20 > > > Please give it a try. > >=20 > > Thanks Corinna, that works perfectly! >=20 > Thanks for testing. And thanks again for providing an STC, that's > very helpful. >=20 > > On Dec 2 14:48, Corrina Vinshen wrote: > ^^^^^^^^^^^^^^^ > it's getting worse :) > > > Pity. When I created the locking code I added lots and lots of comme= nts > > > in the hope that > > >=20 > > > a) other people would have a chance to understand how the code is > > > supposed to work and > > >=20 > > > b) *I* have a chance to understand how the code is supposed to work > > > after not looking at the code for a year or longer... > >=20 > > I should mention that I'm only a grad student with more of a focus in > > hardware and computer architecture than softare, so I don't have much= =20 > > experience in Linux land yet. Give me a year or so on the job and I may > > be able to understand and debug this kind of code. :) >=20 > Sure, I'd be glad! Only... it's mostly Win32/NT, not Linux code at this > eoint in the source ;) Weird typo. s/eoint/point/ Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --HxOxd3Hfl5FMJYiY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUgCyeAAoJEPU2Bp2uRE+gf6EP/RpWv+Au6fu1jqsOMVAgDs0Y lkBG/2bQXBCQhD8aZFr0ay+Y6KvG+zoabFIIX4hYzaItaB9uBEVonV/GihRArQpk 9F2HYe4xOmqmBe6DlUgSqEvwNVwtf3TrfkDBaqOkBsp2zOq1jjr9Qa0DVrkwsn2D 3I7nx+YmpSyA6UBGjQDlAdH42PrJHbWa/yk+ZfsoO3408ja94hedskXD7Z2UcC+u uHEGSzkKjQ9XI2Q5Jp3gHzOdMIaNcAAmrnz2WXS2Egq/8ON64biOXqq9JIRbUXq7 vYJ5spJuVPHfNwzI0YJi5gY55YUprXu1bNu/OXx7BqKp5Tma5wwLEmkYwaUkq5EX xFZ9ln5wb8NA9BTn9fO0w5nBYJRyEtqQfrMrfiG0ATw2LdDaWZqI+tdaLLO80a7O y7YLKhve4BW+b1BA05g3uu8UdFdY7rtdn8d7JiayNSmPUSs62r6lCu+eRriLLeno eGxtTlkLlHvy9DskgxPh7Fdpu3X9RXD52KlDFvBYTCOStEIv3Y5TCVl/PkKIMHHy uGXNcZjHk8QXunPR47Y9b6yzL/sTxrOr2vyTMt6jpryqco6C3lko9/83sIiyskYW x1n+u4V9yJbmfqxa27/aROIWtX63ZLCdtPnWTOA6ixGJACplXADL+7Q5vM+v8Cx9 eyVhnELBt0gRLR2uCkbb =HoPV -----END PGP SIGNATURE----- --HxOxd3Hfl5FMJYiY--