Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <43715276.40704@cygwin.com> Date: Tue, 08 Nov 2005 20:35:50 -0500 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050929 Thunderbird/1.0.7 Fedora/1.0.7-1.1.fc4 Mnenhy/0.7.2.0 MIME-Version: 1.0 To: Eric Blake CC: Carlo Florendo , cygwin AT cygwin DOT com Subject: Re: ln, ls or readline problem? References: <110920050125 DOT 19316 DOT 43714FF90005798E00004B7422007507840A050E040D0C079D0A AT comcast DOT net> In-Reply-To: <110920050125.19316.43714FF90005798E00004B7422007507840A050E040D0C079D0A@comcast.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/