]> 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>
Thu, 20 Mar 2025 10:57:06 +0000 (11:57 +0100)
commit5c0888dde3cc296d06b8243dcc78248ff90526e5
treec8305f7a7716598d48d48df12aa04f9eaab364de
parent23aa09d7baec72cf6bac9d32c844a5bd2a6ef609
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>
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