[PATCH] ccwrap: fix build with non-english locale set

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Feb 29 12:58:00 GMT 2016


On Feb 29 12:46, Jon Turney wrote:
> On 29/02/2016 12:19, mail@patrick-bendorf.de wrote:
> >+if (`uname -o` =~ /cygwin/i) {
> >+    $ENV{'LANG'} = 'C.UTF-8';
> >+} else {
> >+    $ENV{'LANG'} = 'C';
> 
> This can just say "$ENV{'LANG'} = 'C';" right? As that has to work
> everywhere?

Uh, I missed that.  Yes, of course that should work, too.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20160229/2b978b92/attachment.sig>


More information about the Cygwin-patches mailing list