From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18798 invoked by alias); 15 Jun 2011 10:46:15 -0000 Received: (qmail 18779 invoked by uid 22791); 15 Jun 2011 10:46:14 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 15 Jun 2011 10:46:00 +0000 Received: (qmail 9151 invoked from network); 15 Jun 2011 10:45:59 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 15 Jun 2011 10:45:59 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.72) (envelope-from ) id 1QWnbi-0004j3-6q; Wed, 15 Jun 2011 10:45:58 +0000 Date: Wed, 15 Jun 2011 10:46:00 -0000 From: "Joseph S. Myers" To: Corinna Vinschen cc: DJ Delorie , Andrew Pinski , brobecker@adacore.com, gcc-patches@gcc.gnu.org, gdb-patches@sourceware.org Subject: Re: [RFA/libiberty] Darwin has case-insensitive filesystems In-Reply-To: <20110615082236.GP12140@calimero.vinschen.de> Message-ID: References: <1308087182-26577-1-git-send-email-brobecker@adacore.com> <201106142201.p5EM1vOd006127@greed.delorie.com> <20110615082236.GP12140@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/msg00211.txt.bz2 On Wed, 15 Jun 2011, Corinna Vinschen wrote: > these functions be replaced with multibyte-aware versions? Along the > same lines, the entire set of safe-ctype functions only work for ASCII > and EBCDIC... That's the whole point of safe-ctype: that code that is processing things such as C source code whose semantics do not depend on the host locale can examine character properties in a locale-independent way. Where C source code has multibyte characters, the correct handling depends in detail on the version of C and cannot be done by generic code. -- Joseph S. Myers joseph@codesourcery.com