]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: 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)
commitea694f8b91b82474c018dac2250b03cb00685b26
tree9335a5fa7655f28377e2ec7107879d621c88baf8
parentb5ae9e8d0234738f381c56aa797aeba81a05d587
libmount: 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>
libmount/src/tab.c