4 ms·
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 function
by tedunangst 5y ago
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.
- deleted 5y ago[deleted]
- nwellnhof 5y agoglibc only supports a few _l functions. It doesn't support snprintf_l, for example. The solution here is uselocale.