[cfe-commits] [patch][libcxx] Zero initialize a struct tm in __time_get_storage to appease valgrind
Andrew C. Morrow
andrew.c.morrow at gmail.com
Thu Aug 2 11:00:23 PDT 2012
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 313 bytes
Desc: not available
More information about the cfe-commits