From afeabfa14344294df80b2f4e5f130aee047d13ed Mon Sep 17 00:00:00 2001 From: ache Date: Tue, 24 Oct 1995 04:18:45 +0000 Subject: Add setlocale LC_TIME|LC_CTYPE --- usr.bin/finger/finger.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'usr.bin/finger') diff --git a/usr.bin/finger/finger.c b/usr.bin/finger/finger.c index bae5fe7..5b5daa50 100644 --- a/usr.bin/finger/finger.c +++ b/usr.bin/finger/finger.c @@ -78,6 +78,7 @@ static char sccsid[] = "@(#)finger.c 8.2 (Berkeley) 9/30/93"; #include #include #include +#include #include "finger.h" DB *db; @@ -134,6 +135,8 @@ main(argc, argv) int ch, envargc, argcnt; char *envargv[3]; + (void) setlocale(LC_TIME|LC_CTYPE, ""); + /* remove this line to get remote host */ oflag = 1; /* default to old "office" behavior */ -- cgit v1.1