From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9998 invoked by alias); 13 Aug 2011 20:51:23 -0000 Received: (qmail 9990 invoked by uid 22791); 13 Aug 2011 20:51:22 -0000 X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS 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; Sat, 13 Aug 2011 20:51:07 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p7DKp1g4009296 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 13 Aug 2011 16:51:01 -0400 Received: from greed.delorie.com ([10.3.113.8]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p7DKp0Bs004674 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 13 Aug 2011 16:51:01 -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 p7DKoxV8014077; Sat, 13 Aug 2011 16:50:59 -0400 Received: (from dj@localhost) by greed.delorie.com (8.14.4/8.14.4/Submit) id p7DKoxCp014076; Sat, 13 Aug 2011 16:50:59 -0400 Date: Sat, 13 Aug 2011 20:51:00 -0000 Message-Id: <201108132050.p7DKoxCp014076@greed.delorie.com> From: DJ Delorie To: "Pierre Muller" CC: eliz@gnu.org, tromey@redhat.com, gdb-patches@sourceware.org In-reply-to: <005101cc59f9$7e87a790$7b96f6b0$@muller@ics-cnrs.unistra.fr> (pierre.muller@ics-cnrs.unistra.fr) Subject: Re: [RFC] Fix problems related to Mingw/DJGPP file names containing colons References: <004901cc5907$85006320$8f012960$%muller@ics-cnrs.unistra.fr> <83vcu2wnvj.fsf@gnu.org> <83sjp6wmhb.fsf@gnu.org> <003c01cc59a1$49cc1520$dd643f60$%muller@ics-cnrs.unistra.fr> <83ei0pwpol.fsf@gnu.org> <005101cc59f9$7e87a790$7b96f6b0$@muller@ics-cnrs.unistra.fr> 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-08/txt/msg00277.txt.bz2 > But there might be some 'exotic' file systems that allow > both double-quotes and colons as valid characters in their > filenames. Any unix-like OS supports that: $ touch 'foo"bar:grill' -rw-r--r-- 1 dj games 0 Aug 13 16:46 foo"bar:grill The only two characters you *can't* put in a file name or subdirectory name are the NUL character and possibly '/' (I've seen ways to make filenames with / in them). Every other character is 100% legal. > I am wondering how spaces within filenames are handled > inside GDB on mingw32... > I just tested... No very well :( Any unix-like OS also supports spaces in filenames! $ touch 'foo bar' -rw-r--r-- 1 dj games 0 Aug 13 16:47 foo bar These are not new problems, nor are they dos/windows specific.