Mercurial > hg > octave-lojdl > gnulib-hg
changeset 1526:a52b4052a5b9
Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
instead of "TZ=America/Vancouver". From Paul Eggert.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Wed, 14 Oct 1998 21:27:52 +0000 |
parents | d086e834be7d |
children | 753b9750d5a5 |
files | m4/mktime.m4 |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/mktime.m4 +++ b/m4/mktime.m4 @@ -50,7 +50,12 @@ { /* glibc (up to about 1998-10-07) failed this test) */ struct tm tm; - putenv ("TZ=America/Vancouver"); + + /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" + instead of "TZ=America/Vancouver" in order to detect the bug even + on systems that don't support the Olson extension, or don't have the + full zoneinfo tables installed. */ + putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); tm.tm_year = 98; tm.tm_mon = 3; tm.tm_mday = 5;