Hi, Jakub!
On 1/8/22 10:13, Jakub Wilk wrote:
* Alejandro Colomar <alx.manpages@xxxxxxxxx>, 2022-01-08, 02:41:
/* Free the locale object. */
- uselocale(LC_GLOBAL_HANDLE); /* So \(aqloc\(aq is no longer
in use */
+ uselocale(LC_GLOBAL_LOCALE); /* So \(aqloc\(aq is no longer
in use */
Why?
$ gcc -Wall newlocale-example.c
newlocale-example.c: In function ‘main’:
newlocale-example.c:67:15: error: ‘LC_GLOBAL_HANDLE’ undeclared (first
use in this function); did you mean ‘LC_GLOBAL_LOCALE’?
That makes sense! I applied the patch, and added that to the commit
message.
Thank you both,
Alex
--
Alejandro Colomar
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/