Add setlocale LC_TIME
This commit is contained in:
parent
5877948cd3
commit
3e37ec674d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=11828
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user