[uclibc-ng-devel] [PATCH] towlower and locales

Waldemar Brodkorb wbx at uclibc-ng.org
Sat Jul 29 18:34:15 CEST 2017

Eugene Yudin wrote,

> Hi,
> The function towlower doesn't work with locales diffrent from C.
> Issue was introduced in this commit:
> https://cgit.openadk.org/cgi/cgit/uclibc-ng.git/commit/?id=
> 8cde3a9bf2856dcb9a759dec7ecb04a68e712254
> Call to setlocale is needed for correct generation of the table uplow_diff.
> I received the compile time error "range assumption error" after uncommenting
> the call.
> Similar problem described here:
> http://lists.uclibc.org/pipermail/uclibc/2015-March/048852.html
> The attached patch fix the problem by using int32_t values.

Applied and pushed,

More information about the devel mailing list