Mercurial > hg > octave-nkf > gnulib-hg
changeset 1929:f7d4ee7478d7
(get_date): Rename outermost local `probe' to `quarter'.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sun, 29 Aug 1999 12:28:56 +0000 |
parents | 3119c326ccc8 |
children | 92632825178b |
files | lib/getdate.y |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/getdate.y +++ b/lib/getdate.y @@ -876,10 +876,10 @@ /* Probe the names used in the next three calendar quarters, looking for a tm_isdst different from the one we already have. */ { - int probe; - for (probe = 1; probe <= 3; probe++) + int quarter; + for (quarter = 1; quarter <= 3; quarter++) { - time_t probe = Start + probe * (90 * 24 * 60 * 60); + time_t probe = Start + quarter * (90 * 24 * 60 * 60); struct tm *tm = localtime (&probe); if (tm && tm->tm_zone && tm->tm_isdst != pc.local_time_zone_table[0].value)