diff options
author | Jim Meyering <jim@meyering.net> | 1999-08-29 12:28:56 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-08-29 12:28:56 +0000 |
commit | 9f92dfbf9077964a5443cf1f60d60a309689a0b5 (patch) | |
tree | e1989b52bf409dc9cb7361217fde432218ab2a1e /lib/getdate.y | |
parent | 26656272e83ee5362d8c8afa3aff64de6cf46e0a (diff) | |
download | coreutils-9f92dfbf9077964a5443cf1f60d60a309689a0b5.tar.xz |
(get_date): Rename outermost local `probe' to `quarter'.
Diffstat (limited to 'lib/getdate.y')
-rw-r--r-- | lib/getdate.y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/getdate.y b/lib/getdate.y index 262897405..b95f5641c 100644 --- a/lib/getdate.y +++ b/lib/getdate.y @@ -876,10 +876,10 @@ get_date (const char *p, const time_t *now) /* 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) |