In gawk's git repo, the check-case.awk test fails on macos, according a report from a user. I had to add a second .ok file for it. See https://lists.gnu.org/archive/html/bug-gawk/2026-04/msg00033.html for the start of the thread.
It may not be exactly the same as this grep report, but it's related. Arnold Paul Eggert <[email protected]> wrote: > On 2026-04-19 02:02, [email protected] wrote: > > This seems to exist in macOS as well. > > Which macOS version? I don't observe the problem with that little test > program when I run on macOS 26.4.1, the current macOS version. This is > on cfarm104.cfarm.net. > > For convenience here's that test program again. On cfarm104 it outputs > "towupper (0x01C5) = 0x01C4" which is correct. > > #include <locale.h> > #include <wctype.h> > #include <stdio.h> > > int > main () > { > if (!setlocale (LC_ALL, "en_US.UTF-8")) > return perror ("setlocale"), 1; > > wint_t c = 0x01C5; > wint_t w = towupper (c); > printf ("towupper (0x01C5) = 0x%04X\n", (int) w); > }
