delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/04/21/00:32:13

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
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 <cgf AT cygnus DOT com>
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 <cgf AT cygnus DOT com>,
cygwin-developers AT sourceware DOT cygnus DOT com
References: <s1sd7nktbmd DOT fsf AT jaist DOT ac DOT jp> <20000420225454 DOT A4366 AT cygnus DOT com> <20000420232911 DOT A4748 AT cygnus DOT com>
Mime-Version: 1.0
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019