]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: config: alphanumerically sort config keywords output
authorWilly Tarreau <w@1wt.eu>
Wed, 30 Mar 2022 09:21:32 +0000 (11:21 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 30 Mar 2022 09:21:32 +0000 (11:21 +0200)
commitd90582600005305284798518ea335e6031bd506c
treea0f3e3c37f3f4d6675bd86e3bc40985890465cbc
parent2100b383ab849ae88090909b1654afdf87aa7885
MINOR: config: alphanumerically sort config keywords output

The output produced by dump_registered_keywords() really deserves to be
sorted in order to ease comparisons. The function now implements a tiny
sorting mechanism that's suitable for each two-level list, and makes
use of dump_act_rules() to dump rulesets. The code is not significantly
more complicated and some parts (e.g options) could even be factored.
The output is much more exploitable to detect differences now.
src/cfgparse.c