From 1d42e68236d82c1ac2cd60dfbc9ab061d3bb7184 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 16 Mar 2025 16:20:38 +0100 Subject: [PATCH] more: remove a duplicate call of setlocale() Signed-off-by: Benno Schulenberg (cherry picked from commit 361718387dc19334d060b5f303cd9fe1c19af01e) --- text-utils/more.c | 1 - 1 file changed, 1 deletion(-) diff --git a/text-utils/more.c b/text-utils/more.c index ef3011f1b..a035591af 100644 --- a/text-utils/more.c +++ b/text-utils/more.c @@ -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"))) -- 2.47.3