This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
RE: WinNT Lockup
You can recreate this under cmd if you dynamically adjust your path; they seem
to do some caching someplace... cause the first few commands that have to go
to the end of the path take forever right after you make an update to the path.
There's also a difference that bash looks at things like file mode for an
x bit, whereas cmd just looks for a filename (dir then stat, vs dir) but
if the code is ordered right, the stat is only after a matching filename. ;)
At 15:24 10/13/00 -0400, Larry Hall (RFK Partners, Inc) wrote:
>Bash would eventually have something similar to say. Once all the
>directories listed in PATH are checked or time out, bash will give something
>like "file not found". Assuming the PATH variable for bash is the same as
>in CMD (which it doesn't have to be and is not by default, if I remember
>correctly), bash will still be a bit slower than CMD searching for the same
>command since it has to go through emulation code in Cygwin. Some of the
>path handling code is not optimal either.
>
>Larry
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com