summaryrefslogtreecommitdiff
path: root/lib/getdate.y
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-08-29 12:55:35 +0000
committerJim Meyering <jim@meyering.net>1999-08-29 12:55:35 +0000
commit6b840273e06ecde99a71dd4c64f45fb610d22283 (patch)
tree74463e49a8c022c3786a24a2dd7885e60aea0a74 /lib/getdate.y
parent9f92dfbf9077964a5443cf1f60d60a309689a0b5 (diff)
downloadcoreutils-6b840273e06ecde99a71dd4c64f45fb610d22283.tar.xz
(get_date): Rename latter local `tm' to probe_tm.
Diffstat (limited to 'lib/getdate.y')
-rw-r--r--lib/getdate.y10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/getdate.y b/lib/getdate.y
index b95f5641c..c29c6c77c 100644
--- a/lib/getdate.y
+++ b/lib/getdate.y
@@ -880,14 +880,14 @@ get_date (const char *p, const time_t *now)
for (quarter = 1; quarter <= 3; quarter++)
{
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)
+ struct tm *probe_tm = localtime (&probe);
+ if (probe_tm && probe_tm->tm_zone
+ && probe_tm->tm_isdst != pc.local_time_zone_table[0].value)
{
{
- pc.local_time_zone_table[1].name = tm->tm_zone;
+ pc.local_time_zone_table[1].name = probe_tm->tm_zone;
pc.local_time_zone_table[1].type = tLOCAL_ZONE;
- pc.local_time_zone_table[1].value = tm->tm_isdst;
+ pc.local_time_zone_table[1].value = probe_tm->tm_isdst;
pc.local_time_zone_table[2].name = 0;
}
break;