From ed337c83862164a9458044f65b141185b1c55c18 Mon Sep 17 00:00:00 2001 From: ache Date: Thu, 26 Oct 1995 11:03:08 +0000 Subject: Change locale to LC_ALL, there is no bitmask --- usr.bin/finger/finger.c | 2 +- usr.bin/w/w.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin') diff --git a/usr.bin/finger/finger.c b/usr.bin/finger/finger.c index 5b5daa50..578d164 100644 --- a/usr.bin/finger/finger.c +++ b/usr.bin/finger/finger.c @@ -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 */ diff --git a/usr.bin/w/w.c b/usr.bin/w/w.c index 1460e26..b75f7f4 100644 --- a/usr.bin/w/w.c +++ b/usr.bin/w/w.c @@ -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; -- cgit v1.1