Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: Chris Faylor Date: Thu, 6 Jul 2000 13:43:23 -0400 To: cygwin AT sourceware DOT cygnus DOT com Subject: Re: cd .... Message-ID: <20000706134323.G20864@cygnus.com> Reply-To: cygwin AT sourceware DOT cygnus DOT com Mail-Followup-To: cygwin AT sourceware DOT cygnus DOT com References: <3964BB6B399 DOT E1F4SOHDA AT matsulab DOT is DOT titech DOT ac DOT jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <3964BB6B399.E1F4SOHDA@matsulab.is.titech.ac.jp>; from sohda@is.titech.ac.jp on Fri, Jul 07, 2000 at 02:01:31AM +0900 On Fri, Jul 07, 2000 at 02:01:31AM +0900, Yukihiko Sohda wrote: >Hi, > >I reports a trivial(?) bug. >"cd" accepts illegal path like this. > >[/]cd ... >[/...]cd .. >[/]cd ... >[/...]cd ... >[/.../...]cd .. >[/.../.../..]cd / >[/]cd ........... >[/...........]pwd >/........... >[/...........] > >I examined this with the following cygwin1.dll, >and got the similar result. > >- CYGWIN_NT-5.0 WOODSTOCK 1.1.2(0.21/3/2) 2000-06-06 22:20 i686 unknown >- CYGWIN_NT-5.0 WOODSTOCK 1.1.3s(0.24/3/2) 2000-07-04 23:55 i686 unknown Have you tried the same thing with Windows? Windows accepts these paths. I don't want to add a check in the already overburdened path handling code just to stop somebody from doing something that is valid on Windows. cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com