]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: avoid strcasecmp() for ASCII-only strings
authorKarel Zak <kzak@redhat.com>
Tue, 1 Apr 2025 15:45:01 +0000 (17:45 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 3 Apr 2025 08:16:11 +0000 (10:16 +0200)
commit41a6df798517ba0a3a4a809d6fa60a35951049ca
tree032d04f3662fb3deeccef47d75dee44f9dc3d68c
parente6a7001bb539256cdd71e4f032c2842151814556
libblkid: avoid strcasecmp() for ASCII-only strings

Use cctype.h for locale-independent string comparison and to avoid
tricky string conversions like in tr_TR locales.

Signed-off-by: Karel Zak <kzak@redhat.com>
(cherry picked from commit 7eb663503c77d739f2cc80d78ee9d380b11b6eb9)
libblkid/src/config.c
libblkid/src/partitions/partitions.c