From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6575 invoked by alias); 14 Jun 2011 22:02:55 -0000 Received: (qmail 6567 invoked by uid 22791); 14 Jun 2011 22:02:55 -0000 X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 14 Jun 2011 22:02:43 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p5EM1x3p010567 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 14 Jun 2011 18:01:59 -0400 Received: from greed.delorie.com (ovpn-113-86.phx2.redhat.com [10.3.113.86]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p5EM1w1Q003433 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Jun 2011 18:01:59 -0400 Received: from greed.delorie.com (greed.delorie.com [127.0.0.1]) by greed.delorie.com (8.14.4/8.14.4) with ESMTP id p5EM1vcm006128; Tue, 14 Jun 2011 18:01:57 -0400 Received: (from dj@localhost) by greed.delorie.com (8.14.4/8.14.4/Submit) id p5EM1vOd006127; Tue, 14 Jun 2011 18:01:57 -0400 Date: Tue, 14 Jun 2011 22:02:00 -0000 Message-Id: <201106142201.p5EM1vOd006127@greed.delorie.com> From: DJ Delorie To: Andrew Pinski CC: brobecker@adacore.com, gcc-patches@gcc.gnu.org, gdb-patches@sourceware.org In-reply-to: (message from Andrew Pinski on Tue, 14 Jun 2011 14:56:49 -0700) Subject: Re: [RFA/libiberty] Darwin has case-insensitive filesystems References: <1308087182-26577-1-git-send-email-brobecker@adacore.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-06/txt/msg00201.txt.bz2 > This is wrong as not all FSs are case insensitive. In fact HFS+ can > be case sensitive too. I think you need better check than just > saying all Darwin is case insensitive. This is just like using > FAT32 on Linux. In fact I think HAVE_DOS_BASED_FILE_SYSTEM is > incorrect also for NTFS as it can also be case sensitive. There's a difference between case preserving and case sensitive, though, and we really don't have a portable way to detect case-sensitivity on a per-directory basis, sow how can we do better?