This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fatal error using flock


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 ;)


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpDDOJi2zy0c.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]