From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 692 invoked by alias); 12 Aug 2006 14:46:50 -0000 Received: (qmail 683 invoked by uid 22791); 12 Aug 2006 14:46:50 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 12 Aug 2006 14:46:48 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.4/8.13.4) with ESMTP id k7CEkex6030931; Sat, 12 Aug 2006 16:46:40 +0200 (CEST) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.6/8.13.6) with ESMTP id k7CEkeQu024104; Sat, 12 Aug 2006 16:46:40 +0200 (CEST) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.6/8.13.6/Submit) id k7CEkewA013147; Sat, 12 Aug 2006 16:46:40 +0200 (CEST) Date: Sat, 12 Aug 2006 14:46:00 -0000 Message-Id: <200608121446.k7CEkewA013147@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: eliz@gnu.org CC: Nikolay.Molchanov@Sun.COM, gdb@sourceware.org In-reply-to: (message from Eli Zaretskii on Sat, 12 Aug 2006 17:20:20 +0300) Subject: Re: How to set a breakpoint in file, which name has spaces? References: <44D832EE.2040405@sun.com> <44D8E404.5050407@Sun.COM> <44D98D66.9060202@sun.com> <44DAD087.30004@sun.com> <20060810125827.GA18306@nevyn.them.org> <44DB6093.4030905@sun.com> <20060810175119.GA26275@nevyn.them.org> <44DC151F.3030009@sun.com> <200608121144.k7CBi5tR014608@elgar.sibelius.xs4all.nl> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00111.txt.bz2 > Date: Sat, 12 Aug 2006 17:20:20 +0300 > From: Eli Zaretskii > > > Date: Sat, 12 Aug 2006 13:44:05 +0200 (CEST) > > From: Mark Kettenis > > CC: Nikolay.Molchanov@Sun.COM, gdb@sourceware.org > > > > > Date: Fri, 11 Aug 2006 15:55:40 +0300 > > > From: Eli Zaretskii > > > > > > > Date: Thu, 10 Aug 2006 22:26:55 -0700 > > > > From: Nikolay Molchanov > > > > Cc: gdb@sourceware.org > > > > > > > > I hope we will never need to set a breakpoint in a file, > > > > which name has double quotes :-) > > > > > > MS-Windows filesystems don't allow file names with double quotes, so > > > you needn't worry about that. > > > > But POSIX systems do allow it: Correctling myself, POSIX (EEE Std 1003.1-2001) itself doesn't allow allow double quotes. > > Do they also have drive letters? The original discussion was about > file names such as C:/Documents and Settings/foo.c. Sigh, the Microsoft employee who came up with the bright idea to put spaces in standard directory names must have been a complete moron. Anyway, no they don't have drive names, but C: is a valid filename on OpenBSD, as are spaces. So on OpenBSD your example is also a possible file name. Of course nobody in their right mind would actually create such a name on an OpenBSD system. > In other words, this whole thread was about Windows file names with > spaces in them. So POSIX file-name (un)restrictions are not really > relevant. Well, I might have missed something, but the discussion also was about quoting file names in commands, and I really hope you're not suggesting that we should have seperate quoting rules for Windows and POSIX-like systems. Mark