GNU bug report logs - #72524
how does grep determine locale if no LC environment variables are set

Previous Next

Package: grep;

Reported by: <mark.yagnatinsky <at> barclays.com>

Date: Thu, 8 Aug 2024 12:55:02 UTC

Severity: normal

Full log


Message #20 received at 72524 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: mark.yagnatinsky <at> barclays.com
Cc: 72524 <at> debbugs.gnu.org
Subject: Re: bug#72524: how does grep determine locale if no LC environment
 variables are set
Date: Fri, 9 Aug 2024 15:02:11 -0700
On 2024-08-09 14:59, mark.yagnatinsky <at> barclays.com 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.




This bug report was last modified 310 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.