Re: two bugs in getlocalename_l

2025-03-25 Thread Corinna Vinschen via Cygwin
Hi Bruno, On Mar 24 18:12, Corinna Vinschen via Cygwin wrote: > On Mar 24 14:12, Bruno Haible via Cygwin wrote: > > Hi, > > > > It's good to see the addition of getlocalename_l from POSIX [1] in Cygwin > > 3.6.0. > > > > [1] > > https://pubs.opengroup.org/onlinepubs/9799919799/functions/getloc

Re: two bugs in getlocalename_l

2025-03-24 Thread Corinna Vinschen via Cygwin
On Mar 24 14:12, Bruno Haible via Cygwin wrote: > Hi, > > It's good to see the addition of getlocalename_l from POSIX [1] in Cygwin > 3.6.0. > > [1] > https://pubs.opengroup.org/onlinepubs/9799919799/functions/getlocalename_l.html > > However, there are two bugs: > > > - "If > the val

two bugs in getlocalename_l

2025-03-24 Thread Bruno Haible via Cygwin
Hi, It's good to see the addition of getlocalename_l from POSIX [1] in Cygwin 3.6.0. [1] https://pubs.opengroup.org/onlinepubs/9799919799/functions/getlocalename_l.html However, there are two bugs: 1) If the second argument is LC_GLOBAL_LOCALE, the return value is garbage. How to reproduce: