From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23666 invoked by alias); 14 Jan 2013 22:15:07 -0000 Received: (qmail 23642 invoked by uid 22791); 14 Jan 2013 22:15:06 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,RDNS_NONE,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from Unknown (HELO moutng.kundenserver.de) (212.227.17.9) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 14 Jan 2013 22:14:57 +0000 Received: from [127.0.0.1] (dslb-088-073-034-096.pools.arcor-ip.net [88.73.34.96]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0MZQdt-1TejOZ0P3l-00LNc3; Mon, 14 Jan 2013 23:14:50 +0100 Message-ID: <50F48358.6070800@towo.net> Date: Mon, 14 Jan 2013 22:15:00 -0000 From: Thomas Wolff User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 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> In-Reply-To: <20130114100002.GA22039@calimero.vinschen.de> X-TagToolbar-Keys: D20130114231448212 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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/msg00195.txt.bz2 Am 14.01.2013 11:00, schrieb Corinna Vinschen: > ... > > 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) ------ Thomas -- 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