[Bug 3845] parse_absolute_time: Initialize tm_isdst=-1 so mktime uses tzdata to determine whether DST is in effect

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Jul 2 22:21:42 AEST 2025


https://bugzilla.mindrot.org/show_bug.cgi?id=3845

Anders Ingemann <aim at orbit.online> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #3887|0                           |1
        is obsolete|                            |

--- Comment #1 from Anders Ingemann <aim at orbit.online> ---
Created attachment 3888
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3888&action=edit
Initializes `tm.tm_isdst` to `-1` when we are dealing with a local
timestamp

Supersedes previous patch (removed `tm.tm_isdst = 0`). `timegm()`
doesn't do anything with `tm_isdst`.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list