mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Add setlocale LC_TIME
This commit is contained in:
parent
eb1d32b9a3
commit
6e9804553e
1 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue