[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: {base,dir}name // semantics
From: |
Paul Eggert |
Subject: |
Re: {base,dir}name // semantics |
Date: |
Sat, 09 Jul 2005 13:25:53 -0700 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
address@hidden (Eric Blake) writes:
> should this patch be made globally, or should it be limited to only
> systems that have a distinct //, leaving other platforms to continue
> having just a single slash returned?
Limit it to just those systems, please.
> I would argue that cross-platform consistency is more important
But that cuts both ways: Solaris "dirname //" outputs "/",
and why should GNU/Linux dirname do anything differently?
Let's not change this except on the poor platforms where leading // is
special.