From 6e9804553e5ccee91ed2eb35dfe6ed09f01827b5 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Tue, 24 Oct 1995 05:37:15 +0000 Subject: [PATCH] Add setlocale LC_TIME --- usr.bin/ar/ar.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/usr.bin/ar/ar.c b/usr.bin/ar/ar.c index 6dbef568af1..e1bde61efa4 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 #include #include +#include #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();