This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [RFA/libiberty] Fix documentation issues in filename_cmp.c


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....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]