This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][PR server/24377] Fix mixing English and system default languages in error messages on Windows


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.
> 
> 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.)
> 

Gettext (GNU libintl, at the very least) does import setlocale.c from gnulib
(among other things). Does gdb use libintl?

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]