[1.7] Case-sensitive programs exist but cannot both be run

Peter Rosin peda@lysator.liu.se
Fri Oct 16 09:13:00 GMT 2009

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.


> +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


More information about the Cygwin-patches mailing list