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

2016-03-04 Thread Patrick Bendorf
hi corinna, i might find some time this weekend. this last few days were just too much to look into the issue. patrick Am 04.03.2016 um 09:56 schrieb Corinna Vinschen: Patrick, On Feb 29 17:55, Jon Turney wrote: On 29/02/2016 16:56, Patrick Bendorf wrote: thanks eric. just changed and

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

2016-02-29 Thread Patrick Bendorf
thanks eric. just changed and tested it. hopefully the last patch for this matter. @corinna: as attachment to overcome previous problems. patrick Am 29.02.2016 um 16:41 schrieb Eric Blake: On 02/29/2016 06:19 AM, patrick bendorf wrote: after some discussion on irc and the list i&#

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

2016-02-29 Thread Patrick Bendorf
\n" unless exists $ENV{$ccorcxx}; -if (`uname -o` =~ /cygwin/i) { -$ENV{'LANG'} = 'C.UTF-8'; -} else { -$ENV{'LANG'} = 'C'; -} +$ENV{'LANG'} = 'C'; my @compiler = split ' ', $ENV{$ccorcxx}; if ("@ARGV" !

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

2016-02-29 Thread patrick bendorf
after some discussion on irc and the list i'm resubmitting a simpler version of the patch. setting the locale on cygwin to 'C.UTF-8' is not needed, so i'm always setting it to 'C' which is sufficient for the build process and the most simple fix. /winsup/ * ccwrap: change locale to 'C' as ccwr

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

2016-02-28 Thread Patrick Bendorf
/winsup/ * ccwrap: fix build with non-english locale set --- winsup/ccwrap | 1 + 1 file changed, 1 insertion(+) diff --git a/winsup/ccwrap b/winsup/ccwrap index 7580e7a..ef83085 100755 --- a/winsup/ccwrap +++ b/winsup/ccwrap @@ -12,6 +12,7 @@ if ($ARGV[0] ne '++') { $cxx = 1; } die "$0: