From 9023fa350d6271811e75d06848a3772fff8588b1 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 24 Oct 2017 13:22:40 +0100 Subject: [PATCH] Sort the list of files being processed by glib-mkenums We should ensure a stable order when processing the files, regardless of the order they were submitted on the command line, to increase the chances of a reproducible build. The old Perl-based version of glib-mkenums was fixed in commit 8686e430 to do the same. https://bugzilla.gnome.org/show_bug.cgi?id=691436 --- gobject/glib-mkenums.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gobject/glib-mkenums.in b/gobject/glib-mkenums.in index 7cc55053c..1e4565271 100755 --- a/gobject/glib-mkenums.in +++ b/gobject/glib-mkenums.in @@ -683,7 +683,7 @@ def process_file(curfilename): prod = replace_specials(prod) write_output(prod) -for fname in options.args: +for fname in sorted(options.args): process_file(fname) if len(ftail) > 0: