Add setlocale LC_CTYPE
This commit is contained in:
parent
0d813e4855
commit
919c7de63d
@ -50,7 +50,9 @@ static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/7/93";
|
||||
#include <sys/types.h>
|
||||
#include <sys/file.h>
|
||||
#include <stdio.h>
|
||||
#include <less.h>
|
||||
#include <stdlib.h>
|
||||
#include <locale.h>
|
||||
#include "less.h"
|
||||
|
||||
int ispipe;
|
||||
int new_file;
|
||||
@ -250,7 +252,9 @@ main(argc, argv)
|
||||
char **argv;
|
||||
{
|
||||
int envargc, argcnt;
|
||||
char *envargv[2], *getenv();
|
||||
char *envargv[2];
|
||||
|
||||
(void) setlocale(LC_CTYPE, "");
|
||||
|
||||
/*
|
||||
* Process command line arguments and MORE environment arguments.
|
||||
|
Loading…
Reference in New Issue
Block a user