From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17942 invoked by alias); 15 Jan 2013 19:50:38 -0000 Received: (qmail 17909 invoked by uid 22791); 15 Jan 2013 19:50:37 -0000 X-SWARE-Spam-Status: No, hits=0.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_THEBAT,KHOP_THREADED,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from smtp.ht-systems.ru (HELO smtp.ht-systems.ru) (78.110.50.62) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 15 Jan 2013 19:50:30 +0000 Received: from [91.76.214.46] (helo=darkdragon.lan) by smtp.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1TvCWS-0003c1-DN; Tue, 15 Jan 2013 23:50:12 +0400 Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Tue, 15 Jan 2013 19:39:29 -0000 Date: Tue, 15 Jan 2013 19:50:00 -0000 From: Andrey Repin Reply-To: Andrey Repin Message-ID: <583678684.20130115233929@mtu-net.ru> To: Thomas Wolff , cygwin@cygwin.com Subject: Re: stat() and tilde prefix (was bad bash tab completion) In-Reply-To: <50F48358.6070800@towo.net> References: <5024B4D4.6080409@shaddybaddah.name> <50F395D5.4050201@shaddybaddah.name> <20130114061747.GB16739@ednor.casa.cgf.cx> <20130114100002.GA22039@calimero.vinschen.de> <50F48358.6070800@towo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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/msg00210.txt.bz2 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. -- WBR, Andrey Repin (anrdaemon@freemail.ru) 15.01.2013, <23:38> Sorry for my terrible english... -- 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