[Pkg-gtkpod-devel] Bug#547295: gtkpod adds direcory in unknown order

Michal Suchanek hramrach at centrum.cz
Tue Oct 26 21:27:39 UTC 2010


On 26 October 2010 21:14, Etienne Millon <etienne.millon at gmail.com> wrote:
> On Fri, Sep 18, 2009 at 12:33:03PM +0200, Michal Suchanek wrote:
>> When adding a directory of files (with no subdirectories in this
>> case) the files are added in some order I cannot figure out. It does
>> not seem they are sorted by filename nor does it seem they are
>> sorted by mp3 name.
>
> add_directory_by_name (from file.c) uses g_dir_read_name, which
> returns data in an undefined order. Do you know how similar software
> tackle this problem ?
>

For example ls sorts the readdir output.

Thanks

Michal





More information about the Pkg-gtkpod-devel mailing list