Érico Nogueira
4b2f342a22
gstrfuncs: don't require nonstandard functions for USE_XLOCALE.
...
Make it so USE_XLOCALE is set whenever newlocale() and uselocale() are
available. This way, we can still use the _g_snprintf() path for some
functions, and also use the *_l functions when they are available.
newlocale(3) are uselocale(3) part of POSIX 2008, while the *_l
functions being used are nonstandard glibc extensions. Gating all the
locale functionality behind them meant we were using fallbacks on non
glibc platforms unnecessarily.
Further changes to this code could add fallback for the non _l suffixed
number parsing functions, but that might be unnecessary complexity.
Fixes #2553
2021-12-09 18:20:07 -03:00
..
2021-05-06 22:54:53 +02:00
2021-04-19 19:23:10 +01:00
2021-01-06 01:06:28 +01:00
2020-02-27 10:33:45 +00:00
2021-12-02 10:02:57 +00:00
2021-08-16 20:05:59 +00:00
2021-11-26 12:24:23 +00:00
2020-06-12 15:01:08 +01:00
2021-11-25 14:11:29 +02:00
2019-10-07 14:38:24 +02:00
2021-08-02 16:00:12 +01:00
2020-11-20 14:41:07 +00:00
2021-09-23 22:09:07 +02:00
2021-10-15 14:15:43 +03:00
2020-05-28 09:21:35 +01:00
2020-01-15 13:15:54 +00:00
2021-06-03 15:15:34 +01:00
2021-06-07 14:03:48 +01:00
2021-08-02 16:00:12 +01:00
2021-06-15 12:01:11 +00:00
2021-06-15 12:01:11 +00:00
2021-11-26 12:07:00 +00:00
2021-03-27 09:28:10 +01:00
2020-12-12 18:30:22 +00:00
2021-08-02 16:00:12 +01:00
2020-09-18 23:50:09 +05:30
2021-11-12 21:32:21 -05:00
2021-03-27 09:28:10 +01:00
2021-11-12 21:32:21 -05:00
2021-11-03 10:47:38 +00:00
2020-06-23 10:49:44 +01:00
2021-10-12 18:03:58 +02:00
2021-08-02 16:00:12 +01:00
2021-04-19 19:24:08 +01:00
2021-07-29 10:09:27 -04:00
2021-11-20 11:11:01 +02:00
2021-05-28 17:15:46 +02:00
2021-05-28 17:15:46 +02:00
2021-12-02 12:37:26 -08:00
2021-08-02 16:00:12 +01:00
2020-06-12 15:01:08 +01:00
2021-06-11 15:19:17 +02:00
2021-11-26 12:24:23 +00:00
2021-10-12 18:05:48 +02:00
2021-02-08 10:37:01 +00:00
2021-07-26 11:01:07 +01:00
2021-10-13 18:38:59 +02:00
2021-11-02 09:38:36 +00:00
2020-11-17 15:50:07 +00:00
2019-09-05 14:16:58 +01:00
2020-10-14 11:01:24 +00:00
2021-01-06 15:44:59 +00:00
2021-11-19 16:01:54 +08:00
2019-12-11 11:48:41 +00:00
2020-06-10 09:48:02 +01:00
2021-11-03 15:42:20 +00:00
2021-05-17 12:07:30 -04:00
2021-09-28 10:36:42 +00:00
2019-11-26 12:17:04 +00:00
2021-05-17 12:07:30 -04:00
2020-05-19 16:20:31 +01:00
2020-09-22 16:41:55 +01:00
2019-11-25 13:09:25 +01:00
2021-11-16 15:13:07 +00:00
2021-11-01 18:39:56 +00:00
2021-09-21 14:50:30 +01:00
2020-11-20 14:40:19 +00:00
2020-05-19 15:12:16 +01:00
2021-05-17 12:07:30 -04:00
2021-11-16 14:43:12 +00:00
2021-08-02 16:00:12 +01:00
2021-09-21 09:41:29 +00:00
2020-06-12 15:01:08 +01:00
2021-11-26 12:24:23 +00:00
2021-05-13 12:57:06 +02:00
2021-11-18 14:32:09 +00:00
2021-04-27 16:25:09 +02:00
2021-04-27 16:25:09 +02:00
2021-10-18 14:23:26 +02:00
2020-11-12 03:25:58 +00:00
2020-06-10 09:48:02 +01:00
2019-09-21 10:48:23 +02:00
2020-09-02 14:38:15 +02:00
2021-07-21 13:49:48 +02:00
2020-06-12 15:01:08 +01:00
2021-05-17 12:07:30 -04:00
2021-05-11 15:08:20 +05:30
2021-06-21 14:07:45 +00:00
2021-05-06 23:07:04 +02:00
2021-09-21 09:41:29 +00:00
2021-09-09 23:34:16 +03:00
2021-08-02 16:00:12 +01:00
2021-10-18 11:03:33 +00:00
2020-07-28 18:22:21 +02:00
2020-09-22 16:41:55 +01:00
2019-11-25 13:09:25 +01:00
2020-06-12 15:01:08 +01:00
2021-10-13 18:38:59 +02:00
2021-08-03 13:53:38 +00:00
2021-06-15 14:33:14 +01:00
2021-10-18 14:23:31 +02:00
2019-09-18 10:47:23 +02:00
2020-01-30 01:56:56 +00:00
2021-12-09 18:20:07 -03:00
2021-02-04 17:34:03 +00:00
2021-11-25 14:38:17 +02:00
2021-02-09 10:50:16 +00:00
2021-11-25 14:38:17 +02:00
2021-05-26 12:41:18 +00:00
2021-05-26 12:41:18 +00:00
2020-06-12 15:01:08 +01:00
2021-05-13 22:16:27 +01:00
2021-08-19 09:49:11 +01:00
2021-08-19 09:49:11 +01:00
2021-07-23 22:21:11 +02:00
2021-10-21 12:01:33 +01:00
2021-08-02 15:59:43 +01:00
2020-05-19 16:17:39 +01:00
2021-08-19 14:25:24 +01:00
2021-07-02 18:42:59 +05:30
2020-01-21 11:56:34 +00:00
2021-10-19 18:44:20 +02:00
2020-11-21 23:11:23 +00:00
2020-11-14 19:04:45 +00:00
2020-11-14 19:04:45 +00:00
2020-05-12 12:41:22 +01:00
2020-07-27 15:41:09 +01:00
2021-03-23 11:36:57 +00:00
2021-03-23 11:36:57 +00:00
2021-11-17 11:57:09 +00:00
2021-09-21 09:41:29 +00:00
2021-09-21 09:41:29 +00:00
2021-09-21 09:41:29 +00:00
2021-06-09 11:11:06 +02:00
2020-03-18 14:50:36 +00:00
2020-03-31 14:18:32 +01:00
2021-09-21 09:41:29 +00:00
2021-09-21 09:41:29 +00:00
2021-11-17 15:20:28 +00:00
2021-03-11 13:37:49 +00:00
2020-06-25 13:57:35 +04:00
2021-11-22 12:22:54 +00:00
2021-11-24 11:10:29 +00:00
2020-11-25 11:34:05 +00:00
2021-11-25 14:05:42 +02:00
2021-05-03 15:09:31 +02:00
2021-05-10 15:28:12 -03:00
2020-08-18 09:46:12 +01:00
2019-10-30 15:37:39 +00:00
2021-05-10 15:28:12 -03:00
2021-05-10 15:28:12 -03:00
2021-10-15 14:15:43 +03:00
2021-08-02 15:56:42 +01:00
2021-02-04 16:04:10 +00:00
2021-05-10 15:28:12 -03:00
2021-05-10 15:28:12 -03:00
2021-08-02 14:52:06 +01:00
2021-09-17 11:35:21 +01:00
2021-06-08 08:38:59 +00:00
2021-11-19 16:01:54 +08:00
2021-10-18 11:50:49 +01:00
2020-11-17 15:50:07 +00:00
2020-04-27 22:00:50 +03:00
2021-10-14 18:48:02 +02:00