gaim/gaim

argh.
oldstatus
2005-04-28, Nathan Walp
af30000b7fad
Parents 2510b2c78b97
Children b07f8e36ccb0
argh.

:r /tmp/cvsjorQVC

this fixes jabber backlog timestamps for win32, and other platforms without tm_gmtoff
  • +1 -0
    ChangeLog
  • +3 -1
    src/util.c
  • --- a/ChangeLog Wed Apr 27 20:11:35 2005 -0400
    +++ b/ChangeLog Thu Apr 28 00:02:10 2005 -0400
    @@ -5,6 +5,7 @@
    * Removed parts of the font selection dialog that were not respected
    * Fix being invited to a multi user chat on MSN
    * Multiple SILC accounts should work now (Pekka Riikonen)
    + * Fix times on jabber chat backlogs
    version 1.2.1 (4/3/2005):
    * URL escaping now works with UTF-8 text. This may break some old log
    --- a/src/util.c Wed Apr 27 20:11:35 2005 -0400
    +++ b/src/util.c Thu Apr 28 00:02:10 2005 -0400
    @@ -552,6 +552,8 @@
    tzoff *= -1;
    }
    + t->tm_isdst = -1;
    +
    if (tzoff || utc) {
    #ifdef HAVE_TM_GMTOFF
    tzoff += t->tm_gmtoff;
    @@ -559,13 +561,13 @@
    # ifdef HAVE_TIMEZONE
    tzset(); /* making sure */
    tzoff -= timezone;
    + t->tm_isdst = 0; /* I think this might fix it */
    # endif
    #endif
    }
    }
    }
    - t->tm_isdst = -1;
    retval = mktime(t);
    retval += tzoff;