Den 2009-10-16 10:46 skrev Yaakov (Cygwin/X):
On 16/10/2009 03:03, Corinna Vinschen wrote:
On Oct 15 23:01, Yaakov S wrote:
It appears that two EXEs can coexist (with the registry setting) but
only
whichever one was so named first will be run:
[...]
Bug? Limitation? If it hurts, don't do that?
Limitation. While we can do everything with files using native NT
calls, we can't use NtCreateProcess to create new processes. We
have to use CreateProcess, and there's no flag available which defines
case-sensitivity for this call, unfortunately.
In that case, let's document it. Patch attached.
*snip*
+trying to run either of them will always run whichever was so named first.
I suspect that you don't necessarily get the one which was named first. My
guess is that you'll get whichever file happening to appear first in the
unsorted directory list. Seems bad to make "promises" in the docs in this
case...
Cheers,
Peter