[glib] Sort the list of files being processed by glib-mkenums
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Sort the list of files being processed by glib-mkenums
- Date: Tue, 24 Oct 2017 13:10:00 +0000 (UTC)
commit 9023fa350d6271811e75d06848a3772fff8588b1
Author: Emmanuele Bassi <ebassi gnome org>
Date: Tue Oct 24 13:22:40 2017 +0100
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gobject/glib-mkenums.in b/gobject/glib-mkenums.in
index 7cc5505..1e45652 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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]