From 098b4f80dd210d79488fa76acf75d8d3279b3864 Mon Sep 17 00:00:00 2001 From: mckay Date: Thu, 15 Oct 1998 13:30:48 +0000 Subject: atq ignored locale info when printing dates. Is the other call to setlocale() just in the wrong place? PR: 8300 --- usr.bin/at/at.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'usr.bin/at/at.c') diff --git a/usr.bin/at/at.c b/usr.bin/at/at.c index 2dea501..daded16 100644 --- a/usr.bin/at/at.c +++ b/usr.bin/at/at.c @@ -92,7 +92,7 @@ enum { ATQ, ATRM, AT, BATCH, CAT }; /* what program we want to run */ /* File scope variables */ -static char rcsid[] = "$Id: at.c,v 1.12 1997/03/03 07:58:00 ache Exp $"; +static char rcsid[] = "$Id: at.c,v 1.13 1997/03/29 04:27:56 imp Exp $"; char *no_export[] = { "TERM", "TERMCAP", "DISPLAY", "_" @@ -450,6 +450,10 @@ list_jobs() time_t runtimer; char timestr[TIMESIZE]; int first=1; + +#ifdef __FreeBSD__ + (void) setlocale(LC_TIME, ""); +#endif PRIV_START -- cgit v1.1