On Tue, Jun 15, 2021 at 04:20:22PM -0400, Chet Ramey wrote:
> It depends on the libc implementation of setlocale(3).
> 
> This has come up a number of times before:
> 
> https://lists.gnu.org/archive/html/bug-bash/2015-07/msg00073.html
> https://lists.gnu.org/archive/html/bug-bash/2017-04/msg00063.html
> https://lists.gnu.org/archive/html/bug-bash/2017-06/msg00052.html

There is also uselocale, newlocale, duplocale and freelocale.
The manual says POSIX.1-2008, so it should be reasonably portable.
Not sure if it is worth the trouble.

Regards, Mike Jonkmans

  • Memory leak ... Zachary Fields via Bug reports for the GNU Bourne Again SHell
    • Re: Mem... Chet Ramey
      • Re:... Zachary Fields via Bug reports for the GNU Bourne Again SHell
        • ... Chet Ramey
          • ... Zachary Fields via Bug reports for the GNU Bourne Again SHell
          • ... Mike Jonkmans

Reply via email to