]> git.ipfire.org Git - thirdparty/glibc.git/commit
tunables: sort tunables list (BZ 30027)
authorDJ Delorie <dj@redhat.com>
Tue, 11 Jun 2024 23:28:36 +0000 (19:28 -0400)
committerDJ Delorie <dj@redhat.com>
Wed, 12 Jun 2024 18:45:18 +0000 (14:45 -0400)
commit8859607eaa068a3aaa7df7f54eff186b25ecdad0
tree1925cca1c49dfd721463e12e6ef4f407f893943e
parent7edd3814b00c46a404cbaf316eab9db18438c3dd
tunables: sort tunables list (BZ 30027)

Sort tunables list at the time it's generated.  Note: adding new
tunables will cause other tunable IDs to change, but that was
the case before anyway.  POSIX does not guarantee the order of "foo
in bar" AWK operators, so the order was indeterminate before anyway.
Even depending on the order to be the same across multiple calls,
such as in this script, is undefined, so sorting the list resolves
that also.

Note that sorting is not dependent on the user's locale.
Makeconfig
scripts/gen-tunables.awk