Le mardi 17 mai 2016 à 21:28 +0200, Cyril Bonté a écrit : > Well, I'd rather think we shouldn't bother with setlocale(), stay > with the C locale, and document how the files are sorted. The > behaviour is different than calling "haproxy -- *.cfg", where globing > is made by the shell itself and its locale, but this looks to be > consistent with how other programs behave (apache with the "Include" > directive, nginx with the "include" one).
I agree. We should remove setlocale and document the fact that sorting is done with LC_COLLATE=C. -- Regards Maxime
signature.asc
Description: This is a digitally signed message part