Subject: Re: bug#72524: how does grep determine locale if no LC environment variables are set

From: Paul Eggert <[email-masked]>
Date: Fri, 9 Aug 2024 15:02:11 -0700

On 2024-08-09 14:59, [email-masked] wrote:
> Re: debugger: will that work if grep wasn't built with debug symbols?

Only if you're reasonably experienced with machine code. It's not fun, 
but it's doable.

You could write your own little test program that simply does 'setlocale 
(LC_ALL, "")' followed by the fprintf code I sent you earlier, and debug 
that or see what it does.