This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 1.7.5: Occasional failure of CreatePipe or signal handing due to thread-unsafe code in cwdstuff::set
- From: Andy Koppe <andy dot koppe at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 3 Sep 2010 17:36:19 +0100
- Subject: Re: 1.7.5: Occasional failure of CreatePipe or signal handing due to thread-unsafe code in cwdstuff::set
- References: <3C031C390CBF1E4A8CE1F74DE7ECAF3A140684F0AA@MBX8.EXCHPROD.USA.NET> <20100811084926.GC26152@calimero.vinschen.de> <3C031C390CBF1E4A8CE1F74DE7ECAF3A140684F0B0@MBX8.EXCHPROD.USA.NET> <AANLkTimpBCKzUioEarGiKMQbTjN+6s9iDYm_zzZ2Lxr9@mail.gmail.com> <20100812081151.GT14202@calimero.vinschen.de> <3C031C390CBF1E4A8CE1F74DE7ECAF3A158EDA702A@MBX8.EXCHPROD.USA.NET> <20100903073740.GA1749@calimero.vinschen.de>
On 3 September 2010 08:37, Corinna Vinschen wrote:
> I still don't like the final workaround, which is, to set the Win32 CWD
> to the Cygwin CWD. ÂIt would be nice if we could revert that change to
> the pre-1.7.6 behaviour in a Vista-friendly way. ÂIf you ever find out
> how to make sure that the new handle in the PEB's user parameter block
> is used even on Vista and later, pray tell me.
I haven't got the magic bullet of course, but since we do have a way
to make Win32-using programs work with just a relink, how about this
transition scheme:
- Add the previously suggested CYGWIN option for syncing the Win32
working directory, with two settings: on and off. Default to on for
the moment. That would allow people like Daniel Colascione to switch
it off if they don't care about the resulting failures in cygutils and
elsewhere.
- Implement the -lsynccwd scheme.
- Notify maintainers about the rebuild that's necessary if their
packages use Win32 APIs. Rebuild cygutils, git, and tcltk as soon as
possible.
- In a few months, switch the default to not sync, and hence allow
working directories to be deleted., and which point. Affected programs
that haven't been rebuilt could still be made to work by switching the
option back on.
Andy
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple