提交 a6752eb9 编写于 作者: R rofl0r

__time_to_tm: initialize tm_zone and tm_gmtoff

上级 8d3ee057
......@@ -76,6 +76,8 @@ struct tm *__time_to_tm(time_t t, struct tm *tm)
tm->tm_year= year;
tm->tm_wday= wday;
tm->tm_yday= yday;
tm->__tm_zone = 0;
tm->__tm_gmtoff = 0;
return tm;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册