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]

1.5.19+: symlink bug


Creating links with the same name, but with and without a .exe extension
succeeds, but the one with no extension is later ignored.  Here's a
minimal example:

$ ls -l TESTLINK*
ls: TESTLINK*: No such file or directory
$ ln -s /bin/ls.exe TESTLINK
$ ls -l TESTLINK*
lrwxrwxrwx  1 igor root 11 Feb  3 09:25 TESTLINK -> /bin/ls.exe
$ ln -s /bin/echo.exe TESTLINK.exe
$ ls -l TESTLINK*
lrwxrwxrwx  1 igor root 13 Feb  3 09:25 TESTLINK -> /bin/echo.exe
lrwxrwxrwx  1 igor root 13 Feb  3 09:25 TESTLINK.exe -> /bin/echo.exe
$ uname -svr
CYGWIN_NT-5.1 1.5.20(0.152/4/2) 2006-01-31 21:09
$ cygcheck -f /bin/ln
coreutils-5.3.0-9
$

Let me know if more detail is needed to reproduce this, and I'll attach
the cygcheck output, or an strace if needed.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

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


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