]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tools: add support for ist to the word fingerprinting functions
authorWilly Tarreau <w@1wt.eu>
Tue, 24 Jun 2025 15:14:47 +0000 (17:14 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 6 Nov 2025 18:57:44 +0000 (19:57 +0100)
commita4d78dd4f5882176e4259baa6f973f3abe6ffe1f
tree906317289aa508eaccebe5f2f5bcf0255f40a54a
parentd9d0721bc9130dbe236392d57666e7ec42141a98
MINOR: tools: add support for ist to the word fingerprinting functions

The word fingerprinting functions are used to compare similar words to
suggest a correctly spelled one that looks like what the user proposed.
Currently the functions only support const char*, but there's no reason
for this, and it would be convenient to support substrings extracted
from random pieces of configurations. Here we're adding new variants
"_with_len" that take these ISTs and which are in fact a slight change
of the original ones that the old ones now rely on.
include/haproxy/tools.h
src/tools.c