This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Bug: 1.5.18: 'This application has failed to start because cygwin1.dll was not found. Re-installing the application may fix this problem'
On Wed, 12 Oct 2005, Corinna Vinschen wrote:
> On Oct 10 21:29, Igor Pechtchanski wrote:
>
> > I believe this may be an instance of the error I reported in
> > <http://www.cygwin.com/ml/cygwin/2004-09/msg00552.html>. Basically,
> > the PATH conversion code stops whenever it encounters an invalid
> > element in the PATH. In my case it was due to strict case checking,
> > but it seems to be a more general problem. Basically, the Cygwin path
> > conversion code stops when it encounters a non-existent directory, and
> > only returns the part of the path it's converted so far. Since in
> > your case the invalid directory comes first, you get an empty PATH.
> >
> > A patch to turn off this behavior altogether is reasonably simple, but
> > I'm not sure it'll be accepted. The main question is whether this
> > behavior is desired. Corinna or Chris, care to comment?
>
> This should be solved in current CVS (the general problem with
> non-existant directories, not the case_check stuff).
Incidentally, that fix also solves the check_case problem I reported,
since, due to the wrong case, Cygwin simply thought that the directory was
non-existent. My patch attempted to make Cygwin understand that the
directory was valid, whereas your approach is much simpler. In any case,
I'm happy... Thanks! :-)
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/