From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27719 invoked by alias); 18 Jun 2011 15:56:14 -0000 Received: (qmail 27696 invoked by uid 22791); 18 Jun 2011 15:55:53 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Sat, 18 Jun 2011 15:55:37 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 7808D2CA2D3; Sat, 18 Jun 2011 17:55:34 +0200 (CEST) Date: Sat, 18 Jun 2011 15:56:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Bug with paths containing double slashes after double dot after a mount point Message-ID: <20110618155534.GO3437@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <4DFBC1D2.4090207@ronin-capital.com> <4DFBCCB7.2080408@sbcglobal.net> <20110618083139.GL3437@calimero.vinschen.de> <20110618113346.GN3437@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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: 2011-06/txt/msg00233.txt.bz2 On Jun 18 13:43, Vadim Zeitlin wrote: > Corinna Vinschen cygwin.com> writes: > > Other than that, I fixed that in CVS. It's a Win32 path coversion problem > > which only occurs if there are multiple backslashes trailing a ".." path > > component. > > Thanks a lot for fixing this! Just out of idle curiosity, why did the > problem only manifest itself under Windows 7 and not XP? Looking at > http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?r1=1.629&r2=1.630&cvsroot=src&f=h > and surrounding code I don't see anything obviously platform-specific. Stracing shows that XP (probably all 5.x kernels) allow to specify paths with multiple backslashes in calls to NtCreateFile, while the 6.x kernels fail with STATUS_OBJECT_NAME_INVALID. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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