Re: 1.5.19+: symlink bug

2006-02-06 Thread Corinna Vinschen
On Feb 3 22:59, Corinna Vinschen wrote: On Feb 3 16:29, Eric Blake wrote: behavior is the same, and it is cygwin doing it. It appears that when both TESTLINK.lnk and TESTLINK.exe.lnk exist, lstat(TESTLINK) is picking up the contents of TESTLINK.exe.lnk rather than the contents

1.5.19+: symlink bug

2006-02-03 Thread Igor Peshansky
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

Re: 1.5.19+: symlink bug

2006-02-03 Thread Corinna Vinschen
On Feb 3 09:30, Igor Peshansky wrote: 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

Re: 1.5.19+: symlink bug

2006-02-03 Thread Eric Blake
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: Did you try this with the latest coreutils 5.93-3? I just reproduced with stock cygwin 1.5.19 and coreutils 5.93-3. The behavior

Re: 1.5.19+: symlink bug

2006-02-03 Thread Corinna Vinschen
On Feb 3 15:06, Eric Blake wrote: 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: Did you try this with the latest coreutils 5.93-3? I just reproduced with stock cygwin

Re: 1.5.19+: symlink bug

2006-02-03 Thread Corinna Vinschen
On Feb 3 16:47, Corinna Vinschen wrote: On Feb 3 15:06, Eric Blake wrote: 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: Did you try this with the latest coreutils

Re: 1.5.19+: symlink bug

2006-02-03 Thread Eric Blake
behavior is the same, and it is cygwin doing it. It appears that when both TESTLINK.lnk and TESTLINK.exe.lnk exist, lstat(TESTLINK) is picking up the contents of TESTLINK.exe.lnk rather than the contents of TESTLINK.lnk. I have prepared a patch which eliminates this problem, and I'll

Re: 1.5.19+: symlink bug

2006-02-03 Thread Corinna Vinschen
On Feb 3 16:29, Eric Blake wrote: behavior is the same, and it is cygwin doing it. It appears that when both TESTLINK.lnk and TESTLINK.exe.lnk exist, lstat(TESTLINK) is picking up the contents of TESTLINK.exe.lnk rather than the contents of TESTLINK.lnk. I have prepared a patch