diff options
author | ache <ache@FreeBSD.org> | 1995-10-26 11:03:08 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-10-26 11:03:08 +0000 |
commit | ed337c83862164a9458044f65b141185b1c55c18 (patch) | |
tree | df334e959b1af330e1c6d56e8a75bc82be1cea80 | |
parent | 573cc2fc297162125a1005f14684f3fd5d2c4ba8 (diff) | |
download | FreeBSD-src-ed337c83862164a9458044f65b141185b1c55c18.zip FreeBSD-src-ed337c83862164a9458044f65b141185b1c55c18.tar.gz |
Change locale to LC_ALL, there is no bitmask
-rw-r--r-- | usr.bin/finger/finger.c | 2 | ||||
-rw-r--r-- | usr.bin/w/w.c | 2 |
2 files changed, 2 insertions, 2 deletions
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; |