This is the mail archive of the cygwin@sources.redhat.com 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]

Re: New symlinks


Christopher Faylor wrote:
> 
> I've finally taken the time to play with the new symlinks.  I like them!
> 
> However, I noticed that when I do this:
> 
> ln -s bar foo
> cat foo.lnk
> 
> I get the contents of bar.
> 
> Should I?  Or should I get a "file not found"?  Or should I get
> the contents of foo?
> 

I would expect "file not found".  I had reported and Corinna made
changes but I haven't had the time to test them something similar.  I
would also expect that `ln -s bar foo.lnk' to physically produce
foo.lnk.lnk.


> This is somewhat analogous to cygwin's behavior with .exe in some
> situations but I'm not sure that we should ever expose the fact that a
> symlink now has a .lnk extension to the user.
> 
> Comments?
> 

I agree.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: 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]