]> git.ipfire.org Git - thirdparty/util-linux.git/commit
textutils: use fgetwc() instead of getwc()
authorThomas Weißschuh <thomas@t-8ch.de>
Sat, 13 Apr 2024 08:21:21 +0000 (10:21 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Sat, 13 Apr 2024 08:34:53 +0000 (10:34 +0200)
commitef4fd528cb6dcddb867df903355d8289e12a7206
treee94a655c21308342a4c3e5f6ff2e9f8729e295ef
parent5ebf0edb0a0531cba801c7791543c610725bf944
textutils: use fgetwc() instead of getwc()

getwc() has the same semantics as fgetwc() but may be a function or
macro. According to the manpage "there is no reason ever to use it".

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
text-utils/colcrt.c
text-utils/colrm.c
text-utils/ul.c