]> 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>
Wed, 2 Apr 2025 09:06:17 +0000 (11:06 +0200)
commit7eb663503c77d739f2cc80d78ee9d380b11b6eb9
tree26d0811c9284f8c0e7ec69917f4d23d276e1290a
parent259157b0c1a00806ff75188325e40ba10adf12ce
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>
libblkid/src/config.c
libblkid/src/partitions/partitions.c