[PATCH] config-parser: Honor the XDG_CONFIG_DIRS environment variable

Othman, Ossama ossama.othman at intel.com
Sat May 11 08:45:56 PDT 2013


Hi Bill,

That's a great suggestion.  I'll rework the patch.

Thanks!
-Ossama


On Fri, May 10, 2013 at 5:32 PM, Bill Spitzak <spitzak at gmail.com> wrote:

>
>
> Othman, Ossama wrote:
>
>> Hi,
>>
>> Minor correction to my previous patch.  This revision corrects a small
>> leak in config_file_path_xdg_config_**dirs().
>>
>
> Rather than have all these functions try to open the file, why not just
> build a list of all the possible filenames and then try to open them in
> order until one works.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20130511/917a837e/attachment.html>


More information about the wayland-devel mailing list