[glib/wip/kalev/recursive-mutex-locker: 4/7] gdbus-codegen: sort input files
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/kalev/recursive-mutex-locker: 4/7] gdbus-codegen: sort input files
- Date: Fri, 14 Dec 2018 18:21:22 +0000 (UTC)
commit 3a358edad71c4353586be92831b5b2b30a5e6039
Author: Will Thompson <will willthompson co uk>
Date: Mon Dec 10 13:40:11 2018 +0000
gdbus-codegen: sort input files
This means the output (including lists of filenames) does not depend on
the order of the input files, which may matter if this tool is invoked
with a glob or some other mechanism that doesn't guarantee an order.
gio/gdbus-2.0/codegen/codegen_main.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gio/gdbus-2.0/codegen/codegen_main.py b/gio/gdbus-2.0/codegen/codegen_main.py
index 880ff3932..7683f0af5 100644
--- a/gio/gdbus-2.0/codegen/codegen_main.py
+++ b/gio/gdbus-2.0/codegen/codegen_main.py
@@ -235,7 +235,7 @@ def codegen_main():
all_ifaces = []
input_files_basenames = []
- for fname in args.files + args.xml_files:
+ for fname in sorted(args.files + args.xml_files):
with open(fname, 'rb') as f:
xml_data = f.read()
parsed_ifaces = parser.parse_dbus_xml(xml_data)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]