+2002-03-28 Christopher Faylor <cgf@redhat.com>
+
+ * times.cc (gettimeofday): Fix typo in previous patch.
+
2002-03-27 Wu Yongwei <adah@netstd.com>
* times.cc (gettimeofday): Revert to setting timezone info if tz !=
gettimeofday(struct timeval *tv, struct timezone *tz)
{
static hires gtod;
- static tzflag;
+ static bool tzflag;
LONGLONG now = gtod.usecs (false);
if (now == (LONGLONG) -1)
return -1;
{
if (!tzflag) {
tzset();
- tzflag = 1;
+ tzflag = true;
}
tz->tz_minuteswest = _timezone / 60;
tz->tz_dsttime = _daylight;