From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 69885 invoked by alias); 3 Apr 2019 11:32:06 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 69877 invoked by uid 89); 3 Apr 2019 11:32:06 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.1 spammy= X-HELO: mail-lf1-f67.google.com Received: from mail-lf1-f67.google.com (HELO mail-lf1-f67.google.com) (209.85.167.67) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 03 Apr 2019 11:32:05 +0000 Received: by mail-lf1-f67.google.com with SMTP id 10so11440680lfr.8 for ; Wed, 03 Apr 2019 04:32:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:autocrypt:message-id:date:user-agent :mime-version:in-reply-to; bh=hAesuntPWhemG8RvBVXxlKs8u0A9xx/M1WybHZs1ddc=; b=AQZofO6izFKS60L4JEt2sDcEm0DVNXKC7ERDbrMZ3Ihz1LhNl1bScOkC1xKohm3/yE fAT4I3V+i3WsASeldJiLw9sGfH5y3nbSXoYAc0YWzY5wx4CR3+uI8X80UbuBosyW5yuI UhTfCZISAEhbvxhqLiOipdBOsYRjiP2iuWhazYZvCIf014ttqsTKopYCPyC6ee+YZM/M tmGcAfNbmcQ4veW1IR//VScAlsnmb3oUdm6sm3w7sMM/EVoBuMWHdnzTpPgMl1RP06Oi I30lE+171Zaa/LkoUhrNgW3F9kfgIppkPVcmxp2mDR2vu6gvPWnTNnE25+/Fv428LQhX tC8w== Return-Path: Received: from [192.168.4.39] (broadband-95-84-200-6.ip.moscow.rt.ru. [95.84.200.6]) by smtp.gmail.com with ESMTPSA id a22sm2937583lfg.37.2019.04.03.04.32.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Apr 2019 04:32:00 -0700 (PDT) Subject: Re: [PATCH][PR server/24377] Fix mixing English and system default languages in error messages on Windows To: Eli Zaretskii Cc: gdb-patches@sourceware.org References: <83mullpwg6.fsf@gnu.org> <83ef6qjdbb.fsf@gnu.org> <838swyjafd.fsf@gnu.org> <837echkgjo.fsf@gnu.org> <8336n3hzkx.fsf@gnu.org> <7041169d-9f64-fcce-2c3c-021dd1858923@dronecode.org.uk> <83wokbelu2.fsf@gnu.org> <56f759e3-65ad-f284-40f8-5b221477a9de@gmail.com> <83k1gbedyc.fsf@gnu.org> From: LRN Message-ID: <1d34b1af-ed37-37dd-1364-02f89727e05d@gmail.com> Date: Wed, 03 Apr 2019 11:32:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <83k1gbedyc.fsf@gnu.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Iwobjt620sv9pNcUCHmvM4laD8RXugiwM" X-IsSubscribed: yes X-SW-Source: 2019-04/txt/msg00043.txt.bz2 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Iwobjt620sv9pNcUCHmvM4laD8RXugiwM Content-Type: multipart/mixed; boundary="SEcumrvjaG2omWKVHuQ3Zl5oDgpVjRFeS"; protected-headers="v1" From: LRN To: Eli Zaretskii Cc: gdb-patches@sourceware.org Message-ID: <1d34b1af-ed37-37dd-1364-02f89727e05d@gmail.com> Subject: Re: [PATCH][PR server/24377] Fix mixing English and system default languages in error messages on Windows --SEcumrvjaG2omWKVHuQ3Zl5oDgpVjRFeS Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Content-length: 623 On 03.04.2019 10:38, Eli Zaretskii wrote: > On Wed, 3 Apr 2019 07:58:44 +0300 LRN wrote: >> >>> Beware: only the Cygwin setlocale supports environment variables, the >>> native MS-Windows implementation used by MinGW does not. >>> >> >> That's what gettext is for. And/or gnulib. >=20 > Won't happen unless Gnulib's setlocale is imported. And the proposed > patch didn't do that, AFAIU. (I don't see 'setlocale' in the Gettext > library, FWIW, so I don't think Gettext alone will solve this.) >=20 Gettext (GNU libintl, at the very least) does import setlocale.c from gnulib (among other things). Does gdb use libintl? --SEcumrvjaG2omWKVHuQ3Zl5oDgpVjRFeS-- --Iwobjt620sv9pNcUCHmvM4laD8RXugiwM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 833 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE4MWzR43wYaAzEA49ja3pJ2dZunQFAlykmaoACgkQja3pJ2dZ unTHHxAAmMWFJ2w+B5N3qc0U/n0YksXjI1cFHTJTgTcrXJcxOg9uts0DhcXq/a4c gXC/K85hod0iGDYVuuq8opMZ4tl+OZ7A8hdvVvY/WBGh9SZi6NFQc8nYVaxzi6EN tEFQJdp5Dw7fYrK/oQ97dhHIqZve95XKv9T3ufMGbyz4gJmZQaS6iRSMZ42TM3Ct jSMcdueuqw8M+DvkuaqbXrdYxJji8NsCwGT/a164D29QlyQPDPaSXupo+x539NjM CzxN13a4Ff3xTfwrufJmt+ayKxbJZIB1BUNSe82FOYsAy8sKbZoDYmsbEOEdpjcF 1FCzxU5VjTO5yzs/6e3dTV2yZWsnnu0ktGGTTXvCNTw5zEvU4OFGHJF0RWZ/Y6Mn HuHXDvW2Dx57/aexrOYdouxS8ecp6OLVSe1hEn3bvLwhEoZ1yVMJy+yFsDhnCbU/ 0R1E27X/fryk8hWbRjqxkUgjo2OskKy2WwHINtJa/ipA5BrjwBX1WQBBzf0Mo25Q jMWWUdlz3M5I20yccJfu3CAUtW+14pyaCSx1qLxS5xTPX0kFPFoDwPpoxPu7mDXP DNZcdjpV6E+Etq1qyq41Fq2wefRFnjy5F1cgQuGizKQwTr875tQ3yoBCq6lEHOIh SD8AIKy5yGie79bNl8YOeovH/ijLvjmhy8sRBXB716oGMwBMu2k= =Q+ix -----END PGP SIGNATURE----- --Iwobjt620sv9pNcUCHmvM4laD8RXugiwM--