[PATCH 2/3] more: remove a duplicate call of setlocale()
Benno Schulenberg <[email protected]>
| Newsgroups | org.kernel.vger.util-linux |
|---|---|
| Message-ID | <[email protected]> |
Signed-off-by: Benno Schulenberg <[email protected]> --- text-utils/more.c | 1 - 1 file changed, 1 deletion(-) 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 @@ -2094,9 +2094,8 @@ int main(int argc, char **argv) setlocale(LC_ALL, ""); 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"))) ctl.no_scroll++; -- 2.48.1