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: .exe magic reloaded


On Sep  6 11:53, Al wrote:
> It does not:
> 
> > It does:
> >
> > Â$ cd tmp
> > Â$ mkdir dir1 dir2
> > Â$ cp /bin/echo.exe dir1
> > Â$ ln -s `pwd`/dir1/echo.exe dir2/echo
> > Â$ ls -l dir*
> > Âdir1:
> > Âtotal 52
> > Â-rwxr-xr-x 1 corinna vinschen 49166 2010-09-06 10:59 echo.exe
> >
> > Âdir2:
> > Âtotal 1
> > Âlrwxrwxrwx 1 corinna vinschen 31 2010-09-06 11:00 echo -> /home/corinna/tmp/dir1/echo.exe
> > Â$ dir2/echo hello
> > Âhello
> > Â$ /home/corinna/tmp/dir2/echo hello
> > Âhello
> >
> 
> $ /home/corinna/tmp/dir2/echo.exe hello
> bash: /home/corinna/tmp/dir2/echo.exe: No such file or directory
> 
> That's what Perls "Configure" does. Still the magic works only in the
> target directory, but not on the level of the symlink itself.

Uh, I see.  That's a bug in perl's Configure.  It shouldn't use the
.exe suffix at all.


Corinna

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

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


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