Thanks for reporting that. I installed the attached patch into Gnulib
and this should appear in the next coreutils release.From 1e6a26f9312bb47e070f94b17b14dc1a6ffbb74f Mon Sep 17 00:00:00 2001
From: Paul Eggert
Date: Wed, 30 Aug 2023 18:26:52 -0700
Subject: [PATCH] readutmp: fix core dump if --e
Paul Eggert wrote:
> Adjust to 2021-03-07 change “Rename GNULIB_WCHAR_SINGLE to
> GNULIB_WCHAR_SINGLE_LOCALE”. Apparently nobody noticed that
> the module was broken.
Oh, indeed. The mistake goes back to 2020-08-08, when I documented
in multithread.texi that "You may define the C macro
GNULIB_WCH
Adjust to 2021-03-07 change “Rename GNULIB_WCHAR_SINGLE to
GNULIB_WCHAR_SINGLE_LOCALE”. Apparently nobody noticed that
the module was broken. Perhaps we should obsolete the module?
* modules/wchar-single (GNULIB_WCHAR_SINGLE_LOCALE): Define.
---
ChangeLog| 8
modules/wchar-s