Change locale to LC_ALL, there is no bitmask
This commit is contained in:
parent
573cc2fc29
commit
ed337c8386
@ -135,7 +135,7 @@ main(argc, argv)
|
||||
int ch, envargc, argcnt;
|
||||
char *envargv[3];
|
||||
|
||||
(void) setlocale(LC_TIME|LC_CTYPE, "");
|
||||
(void) setlocale(LC_ALL, "");
|
||||
|
||||
/* remove this line to get remote host */
|
||||
oflag = 1; /* default to old "office" behavior */
|
||||
|
@ -131,7 +131,7 @@ main(argc, argv)
|
||||
char *memf, *nlistf, *p, *vis_args, *x;
|
||||
char buf[MAXHOSTNAMELEN], errbuf[256];
|
||||
|
||||
(void) setlocale(LC_TIME|LC_CTYPE, "");
|
||||
(void) setlocale(LC_ALL, "");
|
||||
|
||||
/* Are we w(1) or uptime(1)? */
|
||||
p = __progname;
|
||||
|
Loading…
x
Reference in New Issue
Block a user