diff options
author | mckay <mckay@FreeBSD.org> | 1998-10-15 13:30:48 +0000 |
---|---|---|
committer | mckay <mckay@FreeBSD.org> | 1998-10-15 13:30:48 +0000 |
commit | 098b4f80dd210d79488fa76acf75d8d3279b3864 (patch) | |
tree | 96bc81b0f8320cfe3b3b6e641cff4c9a5e74af20 /usr.bin | |
parent | bad1418fa9c9ee4da14d18089da54e0e1972d886 (diff) | |
download | FreeBSD-src-098b4f80dd210d79488fa76acf75d8d3279b3864.zip FreeBSD-src-098b4f80dd210d79488fa76acf75d8d3279b3864.tar.gz |
atq ignored locale info when printing dates. Is the other call to
setlocale() just in the wrong place?
PR: 8300
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/at/at.c | 6 |
1 files changed, 5 insertions, 1 deletions
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 |