Fixes for hashes not having intrinsic order

Daniel Macks dmacks at netspace.org
Tue Jun 17 21:40:09 PDT 2014


Two bugzilla items:

https://bugs.freedesktop.org/show_bug.cgi?id=79666
https://bugs.freedesktop.org/show_bug.cgi?id=79689

involve user-visible output that is randomly ordered because pkg-config is dumping a hash-table in whatever order the GHash uses internally. Having the output sorted makes it easier to read or process...just a matter or sorting the list of keys before spewing the key/values to stdout. Each has a patch, but I'm not sure the right kind of sorting is being done. Please let me know if there's more work needed on them. 

dan

 --
Daniel Macks
dmacks at netspace.org



More information about the pkg-config mailing list