delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
From: | Chris Faylor <cgf AT cygnus DOT com> |
Date: | Thu, 7 Sep 2000 17:16:17 -0400 |
To: | cygwin AT sources DOT redhat DOT com |
Subject: | Re: chdir through symlinks |
Message-ID: | <20000907171617.B28544@cygnus.com> |
Reply-To: | cygwin AT sources DOT redhat DOT com |
Mail-Followup-To: | cygwin AT sources DOT redhat DOT com |
References: | <104174358744 DOT 20000903224136 AT logos-m DOT ru> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.3.6i |
In-Reply-To: | <104174358744.20000903224136@logos-m.ru>; from deo@logos-m.ru on Sun, Sep 03, 2000 at 10:41:36PM +0400 |
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 AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |