Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com Date: Fri, 21 Apr 2000 01:32:15 -0400 From: Chris Faylor To: cygwin-developers AT sourceware DOT cygnus DOT com Subject: Re: normalize_posix_path can't take root access into account yet. Message-ID: <20000421013215.A6841@cygnus.com> Reply-To: cygwin-developers AT sourceware DOT cygnus DOT com Mail-Followup-To: Chris Faylor , cygwin-developers AT sourceware DOT cygnus DOT com References: <20000420225454 DOT A4366 AT cygnus DOT com> <20000420232911 DOT A4748 AT cygnus DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.8i In-Reply-To: <20000420232911.A4748@cygnus.com>; from cgf@cygnus.com on Thu, Apr 20, 2000 at 11:29:11PM -0400 On Thu, Apr 20, 2000 at 11:29:11PM -0400, Chris Faylor wrote: >On Thu, Apr 20, 2000 at 10:54:54PM -0400, Chris Faylor wrote: >>I don't understand. Can you provide an example of how this is failing? >>I don't see a difference between my change and yours. > >Nevermind. I see it. Maybe I'll regret this, but I rewrote normalize_posix_path. It seemed to be doing a lot more checking of it's input than was required. I tried a wide variety of paths with ../ /./ /../, etc., and it seemed to do the right thing with all of them. cgf