News for hackers. Stuff that matters.
Re:Curious lack of sprintf scaling by tedunangst on Friday February 25, 2022 @09:42PM (#30474841)
The old way to turn it off would be setlocale() in your library before and after sprintf, but this is a disaster for threads, and so now there's the _l functions.
Re:Curious lack of sprintf scaling by nwellnhof on Saturday February 26, 2022 @11:59AM (#30479334)
glibc only supports a few _l functions. It doesn't support snprintf_l, for example. The solution here is uselocale.