Fatal error using flock
Corinna Vinschen
corinna-cygwin@cygwin.com
Thu Dec 4 09:43:00 GMT 2014
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.
> > >
> > > I applied a patch and created a new developer snapshot on
> > > https://cygwin.com/snapshots/
> > >
> > > Please give it a try.
> >
> > 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
> > >
> > > a) other people would have a chance to understand how the code is
> > > supposed to work and
> > >
> > > 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...
> >
> > 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
> > 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 ;)
Weird typo. s/eoint/point/
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20141204/5fe27abe/attachment.sig>
More information about the Cygwin
mailing list