mirror of
https://github.com/mirror/wget.git
synced 2025-01-19 16:50:08 +08:00
[svn] Docfix.
This commit is contained in:
parent
fc4499e671
commit
cbbc2ff512
10
src/cmpt.c
10
src/cmpt.c
@ -1234,11 +1234,11 @@ fnmatch (const char *pattern, const char *string, int flags)
|
|||||||
understanding that an offset will be introduced by the local time
|
understanding that an offset will be introduced by the local time
|
||||||
assumption.
|
assumption.
|
||||||
|
|
||||||
timegm then measures the introduced offset by applying gmtime to
|
It then measures the introduced offset by applying gmtime to the
|
||||||
the initial result and applying mktime to the resulting
|
initial result and applying mktime to the resulting "broken-down"
|
||||||
"broken-down" form. The difference between the two mktime results
|
form. The difference between the two mktime results is the
|
||||||
is the measured offset which is then subtracted from the initial
|
measured offset which is then subtracted from the initial mktime
|
||||||
mktime result to yield a calendar time which is the value returned.
|
result to yield a calendar time which is the value returned.
|
||||||
|
|
||||||
tm_isdst in struct tm is set to 0 to force mktime to introduce a
|
tm_isdst in struct tm is set to 0 to force mktime to introduce a
|
||||||
consistent offset (the non DST offset) since tm and tm+o might be
|
consistent offset (the non DST offset) since tm and tm+o might be
|
||||||
|
Loading…
Reference in New Issue
Block a user