Re: localename-unsafe: Add support for illumos getlocalename_l()

2025-05-04 Thread Andy Fiddaman
On Sun, 4 May 2025, Bruno Haible wrote: > Hi, > > Andy Fiddaman wrote: > > The attached patch adds support for using the POSIX getlocalename_l() > > function > > in illumos to avoid having to reach into undocumented/opaque structs. > > Thanks for notifying u

localename-unsafe: Add support for illumos getlocalename_l()

2025-05-03 Thread Andy Fiddaman
POSIX 2024. I help maintain two different illumos distributions, OmniOS and Helios, and tested this patch on OmniOS r151054 with the results shown below. 2025-05-03 Andy Fiddaman getlocalename_l-unsafe: Add support for the POSIX 2024 getlocalename_l on illumos to avoid reaching

sys-limits.h on illumos

2019-01-03 Thread Andy Fiddaman
There's a compatibility problem with the guard definition used in the sys-limits.h file that affects illumos (an opensolaris derivative) and most likely Solaris too. These operating systems have a /usr/include/sys/limits.h file which uses the _SYS_LIMITS_H guard. Since the same guard is used in