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

Dave Korn dave.korn@artimi.com
Fri Apr 6 10:00:00 GMT 2007


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



More information about the Gdb-patches mailing list