smb.conf.5: sort parameters alphabetically
authorAlexander Bokovoy <ab@samba.org>
Fri, 6 Oct 2017 19:49:11 +0000 (22:49 +0300)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 14 Oct 2017 05:28:18 +0000 (07:28 +0200)
commit543c0af4767f5be723594b87d078357e1e04f02e
tree4bcd230f908e7fec7f11d4a7b0d8eed8f07e91dd
parent4c9b380527ac091fa496675e8b887d2437a47d2c
smb.conf.5: sort parameters alphabetically

Content of each separate parameter description file is added
into a parameters.all.xml file before compiling smb.conf.5.

The issue is that POSIX file systems generally don't give any
promises over how glob-produced files are sorted. Thus, we need to sort
them in a predictable way.

This patch adds sorting based on a file name as a string. Since all
parameter files named after the parameter itself (plus .xml), we can
use file name sorting.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13081

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-By: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
docs-xml/wscript_build