diff options
| author | Guido van Rossum <guido@python.org> | 1998-04-27 19:04:26 (GMT) |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1998-04-27 19:04:26 (GMT) |
| commit | 1f41f846a3fc369c4d68eee962a059ca3a51ccf3 (patch) | |
| tree | d676ed29f64578593c7ce67a92102334fa48b666 /Python/dup2.c | |
| parent | d30dc0a55ef1c9987babe52c1af390c807808c05 (diff) | |
| download | cpython-1f41f846a3fc369c4d68eee962a059ca3a51ccf3.zip cpython-1f41f846a3fc369c4d68eee962a059ca3a51ccf3.tar.gz cpython-1f41f846a3fc369c4d68eee962a059ca3a51ccf3.tar.bz2 | |
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.
Diffstat (limited to 'Python/dup2.c')
0 files changed, 0 insertions, 0 deletions
