This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: zsh: command not found => hangs


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 <doctor@fruitbat.org> or <Peter.Castro@oracle.com> "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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]