perl giving setlocale failures with recent cygwin's, Egor please comment?

egor duda
Thu Aug 29 01:58:00 GMT 2002


Thursday, 29 August, 2002 Christopher Faylor wrote:

CF> I just rebuilt cygwin with the newest version of newlib and noticed
CF> a lot of these type of warnings:

CF> perl: warning: Setting locale failed.
CF> perl: warning: Please check that your locale settings:
CF>         LC_ALL = (unset),
CF>         LANG = (unset)
CF>     are supported and installed on your system.

CF> Is it possible that this is due to Egor's recent mb change in newlib?

Yes, it's definitely so. Previously, setlocale (LC_CTYPE, "") was
returning "C", while now, in MB_CAPABLE configuration, it returns NULL.

I'm not sure whether it's better to fix it in newlib or in perl, though.

Egor.   ICQ 5165414 FidoNet 2:5020/496.19

More information about the Newlib mailing list