basedir spec

Biju Chacko botsie at
Thu Sep 4 07:37:47 EEST 2003

On Wed, 3 Sep 2003 22:18:12 +0200, Jaap Karssenberg wrote:

> Quoting the basedir spec:
> " If $XDG_DATA_DIRS is either not set or empty, a value equal to
> /usr/local/share/:/usr/share/ should be used. "
> The phrasing "not set or empty" is used for all the defaults. I think
> this should be just "not set". Because I want to be able to turn off the
> defaults (for example for testing purposes); to set the var to an empty
> string seems the logical way to do this.
> Thus I propose:
>     when var is not set the defaults are used
>     when var set but empty, use empty var

And what would an empty var mean? Logically, an application cannot look for a
datafile in the path "", so it would have to fall back to a default -- which is
what the standard states.

Since this is fairly obvious, I guess you must have somehing else in mind. Could
you clarify please?


-- b

Biju 'botsie' Chacko                        biju_chacko at vsnl dot net          Public Key available on request

More information about the xdg mailing list