Wireshark-commits: [Wireshark-commits] master e7d24c6: Always explicitly set tm_isdst before callin
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 09 May 2018 16:33:32 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e7d24c606cdb460e835f7d7553d7b82e1ee11eac
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

e7d24c6 by Guy Harris (guy@xxxxxxxxxxxx):

    Always explicitly set tm_isdst before calling mktime().
    
    Except in rare cases, we want to set it to -1 so that we let mktime()
    determine whether DST/Summer Time was in effect at the given date and
    time rather than pretending that we know whether it's in effect or not.
    
    Change-Id: I0ea75317dd308a515cedf4d1260b583e1592cc9b
    Reviewed-on: https://code.wireshark.org/review/27431
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  517e353   Qt: remove unused vars in main_window_preferences_frame (CID 1435498).
    adds  e7d24c6   Always explicitly set tm_isdst before calling mktime().


Summary of changes:
 editcap.c             | 1 +
 ui/time_shift.c       | 1 +
 wiretap/logcat_text.c | 1 +
 3 files changed, 3 insertions(+)