X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4AD7F017.5080609@users.sourceforge.net> Date: Thu, 15 Oct 2009 23:01:27 -0500 From: "Yaakov (Cygwin/X)" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.4pre) Gecko/20090915 Thunderbird/3.0b4 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: [1.7] Case-sensitive programs exist but cannot both be run Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 It appears that two EXEs can coexist (with the registry setting) but only whichever one was so named first will be run: $ cat > lower.c < int main(void) { printf("I am a lower-case a\n"); return 0; } EOF $ cat > upper.c < int main(void) { printf("I am an UPPER-case A\n"); return 0; } EOF $ gcc -o A.exe upper.c $ gcc -o a.exe lower.c $ ls A.exe* a.exe* lower.c upper.c # note that A.exe was created first $ ./A.exe I am an UPPER-case A $ ./a.exe I am an UPPER-case A # Say what? $ mv A.exe A2.exe; mv A2.exe A.exe # now a.exe was there first, let's try again... $ ./a.exe I am a lower-case a $ ./A.exe I am a lower-case a # Oh really? $ cat > B < b <