]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fsck.cramfs: add LC_CTYPE
authorKarel Zak <kzak@redhat.com>
Fri, 18 Oct 2013 08:57:20 +0000 (10:57 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 18 Oct 2013 09:38:02 +0000 (11:38 +0200)
Maybe it would be possible to use LC_ALL, but it requires to review
the code to check if there is no any sensitive code.

Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/fsck.cramfs.c

index cd23345e37b8c5569fe24241e01d353e920e90ec..66523f4decbab43c9b31f5a98343831ec1836720 100644 (file)
@@ -657,6 +657,7 @@ int main(int argc, char **argv)
        };
 
        setlocale(LC_MESSAGES, "");
+       setlocale(LC_CTYPE, "");
        bindtextdomain(PACKAGE, LOCALEDIR);
        textdomain(PACKAGE);
        atexit(close_stdout);