]> git.ipfire.org Git - thirdparty/util-linux.git/commit
misc: never include wchar.h
authorKarel Zak <kzak@redhat.com>
Thu, 20 Mar 2025 10:57:06 +0000 (11:57 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 24 Mar 2025 13:51:36 +0000 (14:51 +0100)
commit778fbe77eff16fb33b222224275fc329e6435cc2
treebad00e3f40e09bd7f94a3cf6e70d6b22ddb341cd
parent906b597b5781b007116c5cbe51bb75b53024f173
misc: never include wchar.h

We have a portable "widechar.h" that follows --disable-widechar and
provides portability. It is a bug to directly include libc's wchar.h
or wctype.h.

Fixes: https://github.com/util-linux/util-linux/issues/3470
Signed-off-by: Karel Zak <kzak@redhat.com>
(cherry picked from commit 5c0888dde3cc296d06b8243dcc78248ff90526e5)
disk-utils/cfdisk.c
include/carefulputc.h
include/fgetwc_or_err.h
lib/idcache.c
sys-utils/irqtop.c
sys-utils/lsns.c
tests/helpers/test_sysinfo.c