From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Fatal error using flock
Date: Thu, 04 Dec 2014 09:33:00 -0000 [thread overview]
Message-ID: <20141204093352.GB3810@calimero.vinschen.de> (raw)
In-Reply-To: <547fa827.02996b0a.02fc.ffffaf7b@mx.google.com>
[-- Attachment #1: Type: text/plain, Size: 1636 bytes --]
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 #2: Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2014-12-04 9:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-04 0:17 Kyle R.
2014-12-04 9:33 ` Corinna Vinschen [this message]
2014-12-04 9:43 ` Corinna Vinschen
-- strict thread matches above, loose matches on Subject: below --
2014-12-02 5:43 Kyle R.
2014-12-02 6:20 ` Andrey Repin
2014-12-02 13:48 ` Corinna Vinschen
2014-12-02 15:52 ` Corinna Vinschen
2014-12-03 7:35 ` Andrey Repin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141204093352.GB3810@calimero.vinschen.de \
--to=corinna-cygwin@cygwin.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).