]> 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>
Thu, 3 Apr 2025 08:16:11 +0000 (10:16 +0200)
commit590fde75bc2ec50a0ef24eb8c5b1bcda4d78a974
tree997207e6622795902ccb9af2640330ef17c4fc0f
parentaa3d057fc1bc2aa5896bbc2ec3b9586b64586b49
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>
(cherry picked from commit ea694f8b91b82474c018dac2250b03cb00685b26)
libmount/src/tab.c