Hi Collin, What if you replace
setlocale (LC_TIME, "C"); with { xsetenv ("LC_TIME", "C", 1); setlocale (LC_TIME, ""); } ? I'm asking because in localename-unsafe.c, HAVE_LOCALE_NULL is not set on macOS. Does that make any difference? Bruno
Bruno Haible via GNU coreutils Bug Reports Mon, 28 Jul 2025 20:39:50 -0700
Hi Collin, What if you replace
setlocale (LC_TIME, "C"); with { xsetenv ("LC_TIME", "C", 1); setlocale (LC_TIME, ""); } ? I'm asking because in localename-unsafe.c, HAVE_LOCALE_NULL is not set on macOS. Does that make any difference? Bruno