53a54,56
> struct tm tm;
> char *tz;
>
56d58
< struct tm tm;
58c60,68
< todTime = timegm(&tm);
---
> tz = getenv("TZ");
> setenv("TZ", "", 1);
> tzset();
> todTime = mktime(&tm);
> if (tz)
> setenv("TZ", tz, 1);
> else
> unsetenv("TZ");
> tzset();
84a95,107
> void
> DumbTOD::serialize(std::ostream &os)
> {
> SERIALIZE_SCALAR(todTime);
> }
>
> void
> DumbTOD::unserialize(Checkpoint *cp, const std::string &section)
> {
> UNSERIALIZE_SCALAR(todTime);
> }
>
>