X-Spam-Check-By: sourceware.org Date: Fri, 3 Feb 2006 09:30:18 -0500 (EST) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com Subject: 1.5.19+: symlink bug Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT 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/