diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1995-10-24 05:37:15 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1995-10-24 05:37:15 +0000 |
commit | 6e9804553e5ccee91ed2eb35dfe6ed09f01827b5 (patch) | |
tree | b2141e48d6595730a3da6175a007fae53a7effb8 /usr.bin | |
parent | eb1d32b9a31740f993c180baee4709fc43bf2196 (diff) | |
download | src-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.c | 3 |
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(); |