From: Benno Schulenberg Date: Sun, 16 Mar 2025 15:20:38 +0000 (+0100) Subject: more: remove a duplicate call of setlocale() X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=361718387dc19334d060b5f303cd9fe1c19af01e;p=thirdparty%2Futil-linux.git more: remove a duplicate call of setlocale() Signed-off-by: Benno Schulenberg --- diff --git a/text-utils/more.c b/text-utils/more.c index e39fe724c..48f27f9e9 100644 --- a/text-utils/more.c +++ b/text-utils/more.c @@ -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")))