Change locale to LC_ALL, there is no bitmask

This commit is contained in:
Andrey A. Chernov 1995-10-26 11:03:08 +00:00
parent ddfbe6be8d
commit d1b2ad1a54
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=11811
2 changed files with 2 additions and 2 deletions

View File

@ -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 */

View File

@ -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;