This is the mail archive of the cygwin-talk 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: 1.5.19+: symlink bug


On 03 February 2006 15:07, 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 1.5.19 and coreutils 5.93-3.  The
> 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.


  Whereas the desired behaviour, of course, would be for it to complain that it can't find TESTLINK.lnk.exe, yes?   ;-P



    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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