diff options
author | Ori Bernstein <ori@eigenstate.org> | 2020-08-24 14:47:10 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2020-08-24 14:47:10 -0700 |
commit | b1a13414cd5c9cc8682a66885fb0acd8654c90de (patch) | |
tree | e0239adfa398686efeb137bc980ae61a30195932 /sys/man/2 | |
parent | 0505f8fb3a88e952709aaead1e13971b6e8514f3 (diff) |
tm2sec: clear new fields in tm
Old users of the time APIs would hand-craft
time structs without first zeroing all the
members. When this got into tmnorm(), we
would try to access the new members, and
things would go off the rails.
This makes tm2sec() clear the new fields
before passing them to the new APIs, so
that the hand-crafted structs remain
valid.
Diffstat (limited to 'sys/man/2')
0 files changed, 0 insertions, 0 deletions