Add setlocale LC_TIME
This commit is contained in:
parent
eb1d32b9a3
commit
6e9804553e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=11762
@ -54,6 +54,7 @@ static char sccsid[] = "@(#)ar.c 8.3 (Berkeley) 4/2/94";
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <locale.h>
|
||||
|
||||
#include "archive.h"
|
||||
#include "extern.h"
|
||||
@ -79,6 +80,8 @@ main(argc, argv)
|
||||
char *p;
|
||||
int (*fcall) __P((char **));
|
||||
|
||||
(void) setlocale(LC_TIME, "");;
|
||||
|
||||
if (argc < 3)
|
||||
usage();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user