]> 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 11:24:23 +0000 (12:24 +0100)
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
(cherry picked from commit 361718387dc19334d060b5f303cd9fe1c19af01e)

text-utils/more.c

index ef3011f1bb10a8d8295d7d5e94909f68467f06b9..a035591af306bb86e71c93a618e15f82b326b7a6 100644 (file)
@@ -2097,7 +2097,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")))