This is the mail archive of the cygwin-developers 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: 1.7.5: Occasional failure of CreatePipe or signal handing due to thread-unsafe code in cwdstuff::set


On Aug 12 14:15, Andy Koppe wrote:
> On 12 August 2010 13:50, Earnie wrote:
> > Corinna Vinschen wrote:
> >>
> >> ÂOr don't start the Win32 app at all if the path is not valid. However
> >> Âwe have to call SetCurrentDirectory at least once, for the first
> >> ÂCygwin app, into a spot it doesn't block the aforementioned rmdir.
> 
> Uh oh, that might cause additional aggro.
> 
> >> ÂC:\ comes to mind. ÂIt's the one directory which always exists and
> >> Âit's not removable anyway.
> >>
> >
> > That should be SYSTEMDRIVE and not a hard C:\. ÂThere is no guarantee that
> > C: drive is present.
> 
> Or the Cygwin base directory? Or /bin, i.e. the directory the DLL is
> in? These couldn't be deleted anyway, and it'd be slighty less
> catastrophic if things went wrong there ...

Another advantage: We get the Cygwin root dir for free
(shared.cc::installation_root).


Corinna

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


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