Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Fri, 26 Aug 2005 11:14:20 -0700 (PDT) From: "Peter A. Castro" To: cygwin AT cygwin DOT com Subject: Re: zsh: command not found => hangs In-Reply-To: <20050826005349.GA4087@trixie.casa.cgf.cx> Message-ID: References: <20050823205318 DOT GF6716 AT bouh DOT ens-lyon DOT fr> <20050825001137 DOT GI7338 AT bouh DOT ens-lyon DOT fr> <20050825220454 DOT GR7662 AT bouh DOT ens-lyon DOT fr> <20050826005349 DOT GA4087 AT trixie DOT casa DOT cgf DOT cx> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-IsSubscribed: yes On Thu, 25 Aug 2005, Christopher Faylor wrote: > On Thu, Aug 25, 2005 at 04:57:46PM -0700, Peter A. Castro wrote: >> On Fri, 26 Aug 2005, Samuel Thibault wrote: >>> Peter A. Castro, le Thu 25 Aug 2005 14:18:53 -0700, a ?crit : >>>> On Thu, 25 Aug 2005, Samuel Thibault wrote: >>>>> Note that I replaced cygwin1.dll by the latest snapshot (2005/08/24). >>>>> The current release version (2005/07/03) does work fine. I tried with >>>>> previous snapshots, even 2005/07/05 fails... >>>> >>>> Wait, so the released version works, but the snapshot doesn't? >>> >>> Precisely. >> >> Hmm... Okaaaaay (I wonder what cgf has done to the code *this* time :) > > And, I wonder why you aren't testing snapshots... Actually, since Samuel mentioned snapshots, I have been testing the latest ones (currently 20050825), and something strange *is* happening... but no hangs like he reported, and I can't seem to narrow the strangeness down yet. Has something change in how mount points are resolved? For instance, I have the following mounts C:\users -> /home C:\ -> /c When I try to cd to /home it says there's no /c/home path An strace shows the following: 9807 8921240 [main] zsh 3436 mount_info::conv_to_posix_path: conv_to_posix_path (/home, keep-rel, no-add-slash) 1401 8922641 [main] zsh 3436 normalize_win32_path: C:\home = normalize_win32_path (/home) 1381 8924022 [main] zsh 3436 mount_info::conv_to_posix_path: /c/home = conv_to_posix_path (/home) Note that there is no /c/home or even c:\home dir. Where as, with 1.5.13 (sorry, it's an older version, but it works): I see: 9670 7488797 [main] zsh 3536 mount_info::conv_to_posix_path: conv_to_posix_path (/home, keep-rel, no-add-slash) 1275 7490072 [main] zsh 3536 normalize_win32_path: \home = normalize_win32_path (/home) 1804 7491876 [main] zsh 3536 mount_info::conv_to_posix_path: /home = conv_to_posix_path (/home) It appears that the normalize_win32_path has changed it semantics. Thoughts? > cgf -- Peter A. Castro or "Cats are just autistic Dogs" -- Dr. Tony Attwood -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/