normalize_posix_path can't take root access into account yet.

Chris Faylor cgf@cygnus.com
Thu Apr 20 22:32:00 GMT 2000


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


More information about the Cygwin-developers mailing list