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 |
Date: | Wed, 15 Nov 2000 18:19:33 +0300 |
From: | Egor Duda <deo AT logos-m DOT ru> |
X-Mailer: | The Bat! (v1.45) Personal |
Reply-To: | Egor Duda <cygwin AT sources DOT redhat DOT com> |
Organization: | DEO |
X-Priority: | 3 (Normal) |
Message-ID: | <3123725845.20001115181933@logos-m.ru> |
To: | Paul Stodghill <stodghil AT cs DOT cornell DOT edu> |
CC: | cygwin AT sources DOT redhat DOT com |
Subject: | Re: Symlink'ed current directory and FIND |
In-reply-To: | <706871B20764CD449DB0E8E3D81C4D43CE8D17@opus.cs.cornell.edu> |
References: | <706871B20764CD449DB0E8E3D81C4D43CE8D17 AT opus DOT cs DOT cornell DOT edu> |
Mime-Version: | 1.0 |
Hi! Wednesday, 15 November, 2000 Paul Stodghill stodghil AT cs DOT cornell DOT edu wrote: it's a feature :) i don't know if any standard says that linux behavior is correct while cygwin isn't. it is possible (and imho desirable too) to make cygwin work like linux in this case, but it requires some changes in cygwin's path handling, and should be done with appropriate care. PS> Why doesn't FIND find files in the current directory when the current PS> directory is accessed via a symlink? PS> milhouse$ hash -r PS> milhouse$ vdir -d a b PS> drwxr-xr-x 2 stodghil None 0 Nov 15 09:03 a PS> lrwxrwxrwx 1 stodghil None 12 Nov 15 09:02 b -> a PS> milhouse$ cd a PS> milhouse$ find -type f PS> ./f1 PS> ./f2 PS> ./f3 PS> milhouse$ cd ../b PS> milhouse$ find -type f PS> milhouse$ ls PS> f1 f2 f3 PS> milhouse$ type -p find PS> /usr/bin/find it's a feature :) i don't know if any standard says that linux behavior is correct while cygwin isn't. it is possible (and imho desirable too) to make cygwin work like linux in this case, but it requires some changes in cygwin's path handling, and should be done with appropriate care. Egor. mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19 -- 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 |