commit | cd9923623167203ae0477cacb9fa49113595c298 | [log] [tgz] |
---|---|---|
author | Howard Hinnant <hhinnant@apple.com> | Thu Aug 02 18:44:17 2012 +0000 |
committer | Howard Hinnant <hhinnant@apple.com> | Thu Aug 02 18:44:17 2012 +0000 |
tree | f1d22a111ec30f8de58bae5670026d4c75428ba2 | |
parent | 069bdd52c1a89e106cad3b8894b2bc8013632aa2 [diff] |
Andrew Morrow: The attached patch updates the initialization of the 'struct tm' in __time_get_storage<char> to match the initialization behavior in __time_get_storage<wchar>. Without the initialization, valgrind reports errors in the subsequent calls to strftime_l. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@161196 91177308-0d34-0410-b5e6-96231b3b80d8