Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Delivered-To: mailing list cygwin@sources.redhat.com Date: Wed, 15 Nov 2000 18:19:33 +0300 From: Egor Duda X-Mailer: The Bat! (v1.45) Personal Reply-To: Egor Duda Organization: DEO X-Priority: 3 (Normal) Message-ID: <3123725845.20001115181933@logos-m.ru> To: Paul Stodghill CC: cygwin@sources.redhat.com Subject: Re: Symlink'ed current directory and FIND In-reply-To: <706871B20764CD449DB0E8E3D81C4D43CE8D17@opus.cs.cornell.edu> References: <706871B20764CD449DB0E8E3D81C4D43CE8D17@opus.cs.cornell.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi! Wednesday, 15 November, 2000 Paul Stodghill stodghil@cs.cornell.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@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19 -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com