Add setlocale LT_TIME

This commit is contained in:
Andrey A. Chernov 1995-10-24 04:09:49 +00:00
parent 965f310ce1
commit f6d3b9ac8f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=11758

View File

@ -48,6 +48,7 @@ static char sccsid[] = "@(#)rwho.c 8.1 (Berkeley) 6/6/93";
#include <stdio.h>
#include <time.h>
#include <string.h>
#include <locale.h>
DIR *dirp;
@ -85,6 +86,8 @@ main(argc, argv)
int f, n, i;
time_t time();
(void) setlocale(LC_TIME, "");
while ((ch = getopt(argc, argv, "a")) != EOF)
switch((char)ch) {
case 'a':