From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5212 invoked by alias); 6 Apr 2007 10:00:50 -0000 Received: (qmail 4875 invoked by uid 22791); 6 Apr 2007 10:00:48 -0000 X-Spam-Check-By: sourceware.org Received: from mail.artimi.com (HELO mail.artimi.com) (194.72.81.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 06 Apr 2007 11:00:43 +0100 Received: from rainbow ([192.168.8.46]) by mail.artimi.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 6 Apr 2007 11:00:23 +0100 From: "Dave Korn" To: "'Eli Zaretskii'" , "'Joel Brobecker'" Cc: , References: <20070405172720.GB9281@adacore.com> <20070406061218.GB3471@adacore.com> Subject: RE: [RFA/libiberty] Fix documentation issues in filename_cmp.c Date: Fri, 06 Apr 2007 10:00:00 -0000 Message-ID: <036d01c77832$60baeef0$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: 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: 2007-04/txt/msg00028.txt.bz2 On 06 April 2007 10:06, Eli Zaretskii wrote: >> 1. Fold multiple consecutive slash/backslash characters into single >> slash/backslash; > (However, note that, as Chris pointed out, double slash at the > beginning of a file name, as in "//foo/bar", are significant on > Windows.) JFTR, it's a POSIX requirement too: http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap04.html#tag_04_ 11 " A pathname that begins with two successive slashes may be interpreted in an implementation-defined manner, although more than two leading slashes shall be treated as a single slash. " cheers, DaveK -- Can't think of a witty .sigline today....