]> git.ipfire.org Git - thirdparty/coreutils.git/commit
all: use more consistent blank character determination
authorPádraig Brady <P@draigBrady.com>
Mon, 9 Mar 2026 22:23:12 +0000 (22:23 +0000)
committerPádraig Brady <P@draigBrady.com>
Tue, 10 Mar 2026 16:30:52 +0000 (16:30 +0000)
commit5ca27c1929d41bee3740add87cce459fb969ef97
treec2332ae50e5ac9b0b031422f38d64831c8a038e8
parent3ef107fa1296b7d32182a4a3b36767ea963a1450
all: use more consistent blank character determination

* src/system.h (c32issep): A new function that is essentially
iswblank() on GLIBC platforms, and iswspace() with exceptions elsewhere.
* src/expand.c: Use it instead of c32isblank().
* src/fold.c: Likewise.
* src/join.c: Likewise.
* src/numfmt.c: Likewise.
* src/unexpand.c: Likewise.
* src/uniq.c: Likewise.
* NEWS: Mention the improvement.
NEWS
src/expand.c
src/fold.c
src/join.c
src/numfmt.c
src/system.h
src/unexpand.c
src/uniq.c