From: Benno Schulenberg Date: Sun, 16 Mar 2025 15:20:38 +0000 (+0100) Subject: more: remove a duplicate call of setlocale() X-Git-Tag: v2.41~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1d42e68236d82c1ac2cd60dfbc9ab061d3bb7184;p=thirdparty%2Futil-linux.git more: remove a duplicate call of setlocale() Signed-off-by: Benno Schulenberg (cherry picked from commit 361718387dc19334d060b5f303cd9fe1c19af01e) --- 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")))