From: Jim Meyering Date: Wed, 14 Oct 1998 21:27:52 +0000 (+0000) Subject: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0" X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9b1d4dd14a94de56d70a3199f9f41c9b42a235d;p=pspp Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0" instead of "TZ=America/Vancouver". From Paul Eggert. --- diff --git a/m4/mktime.m4 b/m4/mktime.m4 index 841e3702e3..8d89b33df8 100644 --- a/m4/mktime.m4 +++ b/m4/mktime.m4 @@ -50,7 +50,12 @@ spring_forward_gap () { /* 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;