]> granicus.if.org Git - python/commit
Instead of calling mktime(), which has all sorts of unwanted side
authorGuido van Rossum <guido@python.org>
Mon, 27 Apr 1998 19:04:26 +0000 (19:04 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 27 Apr 1998 19:04:26 +0000 (19:04 +0000)
commit1f41f846a3fc369c4d68eee962a059ca3a51ccf3
treed676ed29f64578593c7ce67a92102334fa48b666
parentd30dc0a55ef1c9987babe52c1af390c807808c05
Instead of calling mktime(), which has all sorts of unwanted side
effects, simply zero out the struct tm buffer before using it; this
should take care of the BSD folks' concern just as well.
Modules/timemodule.c