Mail Archives: djgpp-workers/1997/09/07/13:31:50
> When the zip file was unpacked, shouldn't UnZip set its DOS time stamp so
> that this never happens (assuming TZ is set)? The timezone file should
> tell whether DST is in effect or not, no?
Something as simple as "dir > file.txt" could create a file with a DOS
timestamp with two possible time_t values, because *dos* doesn't store
the timezone information with the file.
Besides, converting a time_t to a dos date/time *can* create a
date/time that cannot be uniquely converted back to a time_t, if the
time corresponded to the last hour of daylight savings time (turn the
clock back, and gee, it's 1:15 AM again! Which one?)
- Raw text -