summaryrefslogtreecommitdiffstats
path: root/usr.bin/ar
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-10-24 05:37:15 +0000
committerache <ache@FreeBSD.org>1995-10-24 05:37:15 +0000
commitd20a9f436827d59251dc83525c0fa5d5840868a2 (patch)
treeb2141e48d6595730a3da6175a007fae53a7effb8 /usr.bin/ar
parent450b9b98cfa4538be1bf1197e871a4d379b5c579 (diff)
downloadFreeBSD-src-d20a9f436827d59251dc83525c0fa5d5840868a2.zip
FreeBSD-src-d20a9f436827d59251dc83525c0fa5d5840868a2.tar.gz
Add setlocale LC_TIME
Diffstat (limited to 'usr.bin/ar')
-rw-r--r--usr.bin/ar/ar.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/ar/ar.c b/usr.bin/ar/ar.c
index 6dbef56..e1bde61 100644
--- a/usr.bin/ar/ar.c
+++ b/usr.bin/ar/ar.c
@@ -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();
OpenPOWER on IntegriCloud