From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7296 invoked by alias); 4 Dec 2014 09:33:57 -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 7282 invoked by uid 89); 4 Dec 2014 09:33:56 -0000 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 Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 04 Dec 2014 09:33:55 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 11EEC8E12E0; Thu, 4 Dec 2014 10:33:53 +0100 (CET) Date: Thu, 04 Dec 2014 09:33:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Fatal error using flock Message-ID: <20141204093352.GB3810@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <547fa827.02996b0a.02fc.ffffaf7b@mx.google.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YZ2gLtJL3Gv805BH" Content-Disposition: inline In-Reply-To: <547fa827.02996b0a.02fc.ffffaf7b@mx.google.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2014-12/txt/msg00030.txt.bz2 --YZ2gLtJL3Gv805BH Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1606 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! Thanks for testing. And thanks again for providing an STC, that's very helpful. > 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 comments > > 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. :) Sure, I'd be glad! Only... it's mostly Win32/NT, not Linux code at this eoint in the source ;) Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --YZ2gLtJL3Gv805BH Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUgCqAAAoJEPU2Bp2uRE+g7XgP/3zwzyWShOGd0H/pEpL1y3et GQwEqXphzdOS68Lcjwj1zInblotgUDcVDoz3H0c8eMpKMH//BJnGaGWndoZa+XHS FwrLEIqpKcFz1zES79Md241tgEKrxzZmk/ULQRFKILPYYYgatm4oAq/KGtGN3Bdn L1DFVjyOey3LN6ruu4RUSe0T1IBfMc90QHI0ozR369EpGyAPIDhPiBvGXjYdbgW+ qA1navA4Q+8rUUzbcJ/309RMNuZHpEI0Nly1363AuNcHKHzKLV+qjr7L1auIorr2 Lj4vTtx/JOw0C621+OC0vStRXoUr/UQUd6gFuhKy3v4P91lPdDvuGaoiGeiqSMGf 2dSCgZhIqLLE8Zxri8cumg+B2ENGJK9pqKQP+jyAEy+pFzmCsgUBCxFccJCgZNCf 55OKPKNqkTWyeEJQEVjv68bs1JDcfxeLK/G5J1hHwtO4G5mu4Lz6MsSHepIhKRmJ p03L5waRtBmAx+sDeqosb8YHf2vOH0b31DHmMiWa5B3Jsv+1jcApAt3FYpkMm/9/ RMJMt80FjoOMqLixQpIfVYUoRvAcx3M9v8AOPfmdXx6KrtAoUsn6nTgZqGYfkZkU ELzUz6k1OjtQNEcHHbhYks5knLcaE68OlEF/WD9nCZ0cZn8rRhMVF5cYvPfxNgti W2PyM3c05TxYyzuJd2rw =jthY -----END PGP SIGNATURE----- --YZ2gLtJL3Gv805BH--