Add setlocale LC_TIME

This commit is contained in:
Andrey A. Chernov 1995-10-26 23:15:14 +00:00
parent 5877948cd3
commit 3e37ec674d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=11828

View File

@ -20,6 +20,7 @@
#include <string.h>
#include <termcap.h>
#include <sgtty.h>
#include <locale.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
@ -263,6 +264,8 @@ main(ac, av)
char ch, *buf, chb[READB_LEN];
fd_set fd_s;
(void) setlocale(LC_TIME, "");
if (getuid() != 0)
fatal(NULL);