This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: chdir through symlinks
- To: cygwin at sources dot redhat dot com
- Subject: Re: chdir through symlinks
- From: Chris Faylor <cgf at cygnus dot com>
- Date: Thu, 7 Sep 2000 17:16:17 -0400
- References: <104174358744.20000903224136@logos-m.ru>
- Reply-To: cygwin at sources dot redhat dot com
On Sun, Sep 03, 2000 at 10:41:36PM +0400, Egor Duda wrote:
>Hi!
>
>the following script
>
>=======================================================================
>#!/bin/sh
>cd /tmp
>ln -s /usr test-link
>cd test-link
>cd ..
>ls
>=======================================================================
>
>lists contents of /tmp under cygwin, and contents of / on linux and
>FreeBSD boxes i can access. is cygwin behavior correct?
Cygwin changed recently to fix the "find in root fails" problem but
in the process the semantics of '..' changed as you've noted.
It's not impossible to get cygwin working the same way as linux but
it adds code to a time critical section of path handling so I've
been loathe to do that.
My recent cleanup of cwd handling may make this easier though.
cgf
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com