]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
more: remove a duplicate call of setlocale()
authorBenno Schulenberg <bensberg@telfort.nl>
Sun, 16 Mar 2025 15:20:38 +0000 (16:20 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 17 Mar 2025 09:51:32 +0000 (10:51 +0100)
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
text-utils/more.c

index e39fe724c98a0defbe01e13d14a4cf1c325605a4..48f27f9e9abfd0cc24de519d75ff42c001059af6 100644 (file)
@@ -2095,7 +2095,6 @@ int main(int argc, char **argv)
        bindtextdomain(PACKAGE, LOCALEDIR);
        textdomain(PACKAGE);
        close_stdout_atexit();
-       setlocale(LC_ALL, "");
 
        /* Auto set no scroll on when binary is called page */
        if (!(strcmp(program_invocation_short_name, "page")))