bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug#10472: [PATCH] canonicalize: fix // handling


From: Eric Blake
Subject: Re: bug#10472: [PATCH] canonicalize: fix // handling
Date: Sat, 04 Feb 2012 10:02:33 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20120131 Thunderbird/10.0

On 02/04/2012 09:56 AM, Eric Blake wrote:
> On Cygwin, and other platforms where // is detected as distinct
> from / at configure time, the canonicalize routines were incorrectly
> treating all instances of multiple leading slashes as //.
> See also coreutils bug http://debbugs.gnu.org/10472
> 
> * lib/canonicalize.c (canonicalize_filename_mode): Don't convert
> /// to //, since only // is special.
> 
> Signed-off-by: Eric Blake <address@hidden>
> ---
>  ChangeLog          |    6 ++++++
>  lib/canonicalize.c |   12 +++++++-----
>  2 files changed, 13 insertions(+), 5 deletions(-)

canonicalize-lgpl had the same bug, although that file was not in use by
coreutils.  basename-lgpl and dirname-lgpl were already correctly using
DOUBLE_SLASH_IS_DISTINCT_ROOT.

-- 
Eric Blake   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]