New symlinks

Earnie Boyd earnie_boyd@yahoo.com
Tue Feb 27 08:02:00 GMT 2001


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



More information about the Cygwin mailing list