bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25414: address@hidden does not build deterministically


From: Ludovic Courtès
Subject: bug#25414: address@hidden does not build deterministically
Date: Wed, 11 Jan 2017 22:16:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Danny Milosavljevic <address@hidden> skribis:

> On Wed, 11 Jan 2017 00:06:42 +0100
> address@hidden (Ludovic Courtès) wrote:
>
>> Presumably ‘gdk-pixbuf-query-loaders’, which generates ‘loaders.cache’,
>> does not sort the entries returned by readdir(2).
>
> Yep.
>
> gdk-pixbuf/queryloaders.c line 355 uses g_dir_open.
>
> Docs: 
> https://developer.gnome.org/glib/stable/glib-File-Utilities.html#g-dir-open 
> "Note that the ordering is not defined."
>
> One could use g_list_append to append it to a list and then g_list_sort and 
> then g_list_free. Like below (untested! Seriously!):

Sounds like the right approach, would you like to test it?  :-)

Ludo’.





reply via email to

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