This is the mail archive of the cygwin 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: ln, ls or readline problem?


Eric Blake wrote:
$ ls -ld bar2
lrwxrwxrwx  1 Carlo None 7 Nov  9 08:47 bar2 -> foo/bar

Here's the problem:

When I do a `cd bar2' and do an `ls -l ../', here's what I get:


Known problem.  Cygwin takes a shortcut and treats name/.. as
though it were a single ., which unfortunately is counter to posix
when name was a symlink.  The problem is that patching cygwin
is likely to slow down the common case, so the cygwin developers
have chosen speed over correctness for the moment on this issue.


And I can't remember if this came up in that original thread but I see
the same behavior as described by the OP on Linux (FC4).


-- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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