Commit c72712e5 authored by Bernhard M. Wiedemann's avatar Bernhard M. Wiedemann

Sort entries in config6

so that openSUSE's installation-images builds in a reproducible way
in spite of indeterministic filesystem readdir order.

See https://reproducible-builds.org/ for why this is good.
parent 3a83759e
......@@ -437,7 +437,7 @@ static void config_rescan(GVC_t *gvc, char *config_path)
#if defined(_WIN32)
rc = glob(gvc, config_glob, GLOB_NOSORT, NULL, &globbuf);
#else
rc = glob(config_glob, GLOB_NOSORT, NULL, &globbuf);
rc = glob(config_glob, 0, NULL, &globbuf);
#endif
if (rc == 0) {
for (i = 0; i < globbuf.gl_pathc; i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment