]> git.ipfire.org Git - thirdparty/util-linux.git/commit
build-sys: only build col on glibc
authorThomas Weißschuh <thomas@t-8ch.de>
Wed, 27 Sep 2023 17:53:55 +0000 (19:53 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Wed, 27 Sep 2023 18:22:38 +0000 (20:22 +0200)
commit8886d84e25a457702b45194d69a47313f76dc6bc
tree23139d0c5923624b931e53fb72c507056059b572
parent10e078374d3c44edde56a1c53578bfed1c9da94c
build-sys: only build col on glibc

col expects an EILSEQ failure of getwchar() to leave the undecoded data
in the buffer to be read by a subsequent getchar().

This is not guaranteed by the standard and for example musl libc does
not conform to this expectation.

As col is deprecated anyways just disable it on non-glibc instead of fixing it.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
configure.ac
meson.build