[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: Fri, 04 Nov 2005 22:05:14 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Eric Blake <address@hidden> writes:

> for cross compilation, should I be pessimistic and
> make dir_name("//") always return "//" (unless overridden by priming the
> cache, of course)?  Or should I write the test with hard-coded knowledge
> of the HOST values that are known to have distinct // (so far, I only know
> of cygwin), and stick with dir_name("//") returning "/" on all other
> platforms?

Let's do the former, as it's easier to maintain.

reply via email to

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