aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1995-10-24 05:37:15 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1995-10-24 05:37:15 +0000
commit6e9804553e5ccee91ed2eb35dfe6ed09f01827b5 (patch)
treeb2141e48d6595730a3da6175a007fae53a7effb8 /usr.bin
parenteb1d32b9a31740f993c180baee4709fc43bf2196 (diff)
downloadsrc-6e9804553e5ccee91ed2eb35dfe6ed09f01827b5.tar.gz
src-6e9804553e5ccee91ed2eb35dfe6ed09f01827b5.zip
Add setlocale LC_TIME
Notes
Notes: svn path=/head/; revision=11762
Diffstat (limited to 'usr.bin')
-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 6dbef568af1a..e1bde61efa43 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();