From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28980 invoked by alias); 15 Jan 2013 20:03:06 -0000 Received: (qmail 28964 invoked by uid 22791); 15 Jan 2013 20:03:06 -0000 X-SWARE-Spam-Status: No, hits=1.9 required=5.0 tests=AWL,BAYES_00,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from vms173009pub.verizon.net (HELO vms173009pub.verizon.net) (206.46.173.9) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 15 Jan 2013 20:02:56 +0000 Received: from [192.168.1.231] ([unknown] [108.20.163.251]) by vms173009.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MGO008ZTNOJ9Z80@vms173009.mailsrvcs.net> for cygwin@cygwin.com; Tue, 15 Jan 2013 14:02:48 -0600 (CST) Message-id: <50F5B5E3.7080205@cygwin.com> Date: Tue, 15 Jan 2013 20:03:00 -0000 From: "Larry Hall (Cygwin)" Reply-to: cygwin@cygwin.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-version: 1.0 To: cygwin@cygwin.com Subject: Re: stat() and tilde prefix (was bad bash tab completion) References: <5024B4D4.6080409@shaddybaddah.name> <50F395D5.4050201@shaddybaddah.name> <20130114061747.GB16739@ednor.casa.cgf.cx> <20130114100002.GA22039@calimero.vinschen.de> <50F48358.6070800@towo.net> <583678684.20130115233929@mtu-net.ru> In-reply-to: <583678684.20130115233929@mtu-net.ru> Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2013-01/txt/msg00213.txt.bz2 On 1/15/2013 2:39 PM, Andrey Repin wrote: > Greetings, Thomas Wolff! > >>> The first step of converting a POSIX path to a Windows path is to >>> normalize the path. "." and ".." components are simply dropped: >>> >>> "a/b/./c" -> "a\b\c" >>> "a/b/../c" -> "a\c" >> which isn't correct already (even if everything exists) because if b is >> a symbolic link, "b/.." is *not* "." - >> (I think I came across this bug a few times already without really >> noticing it as a bug, having taken it as some spurious glitch...) >> (Not sure whether this case is covered by further arguments in this thread) > > Only if it's a Cygwin symlink. > Which I'm avoiding in my daily work, since NTFS now offers the same > functionality. Certainly if the native facilities work for you, you should use them. But I think there's been enough discussion in the past on this subject to acknowledge that the native functionality doesn't support all that Cygwin symlinks do. I'm making this (very) brief statement for the benefit of those that come across this in the archives. Anyone seeking clarification or more details should look in the archives for previous discussions on this subject. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple