[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xdg
Subject:    Re: Small problem with XDG_DATA_DIRS and XDG_CONFIG_DIRS
From:       Fred Drake <fdrake () gmail ! com>
Date:       2005-03-19 0:29:32
Message-ID: 9cee7ab805031816292dcc7e39 () mail ! gmail ! com
[Download RAW message or body]

On Fri, 18 Mar 2005 19:18:53 -0500 (EST), Behdad Esfahbod
<behdad@cs.toronto.edu> wrote:
> I can think of one solution, but it has its own problem:  Treat
> any empty component of the list as the default values.  Then
> for example "/opt/share:" means "/opt/share" followed by the
> default list.

This is pretty much how TeX distributions allow the "default paths" to
be inserted into a search path.

I think this is a reasonable approach.  If more than one empty entry
is present, only the first needs to be filled in, and the remaining
empty entries can be ignored.


  -Fred

-- 
Fred L. Drake, Jr.    <fdrake at gmail.com>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic