Mail Archives: cygwin/2002/08/01/16:03:19
On Thu, Aug 01, 2002 at 12:42:45PM -0700, Randall R Schulz wrote:
>% ll -i foo 1 2 3
>6537940 -rw-rw-r-- 2 RSchulz None 4 Aug 1 12:34 1
>10863326 lrwxrwxrwx 2 RSchulz None 82 Aug 1 12:34 2 -> 1
>10863326 -r-xr-xr-x 2 RSchulz None 82 Aug 1 12:34 3*
>6537940 -rw-rw-r-- 2 RSchulz None 4 Aug 1 12:34 foo
>
>My hunch is that a patch gratefully accepted for this situation would be an
>addition to the "ln" command that detected when the target was a Windows
>shortcut-based Cygwin symlink and in that case supplied the ".lnk"
>extension if it was not already present in the specified new link name.
I don't think this is a 'ln' problem. It's a cygwin problem. If cygwin
is doing the wrong thing then it should, as Sam said, either be made to
work or fail, not provide binary gobbledegook.
If this was to be made to work correctly, it would be pretty low level
in cygwin in the path_conv and symlink_check methods.
It would be much easier to fail in this scenario rather than make it
work correctly, I think.
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -