Skip to content
Commit 7c24d8e7 authored by Howard Hinnant's avatar Howard Hinnant
Browse files

Initialize all the fields of struct tm before passing it to strftime. One of...

Initialize all the fields of struct tm before passing it to strftime. One of the uninitialized fields, probably the pointer field tm_zone, was causing a segfault on linux.  Patch contributed by Jeffrey Yasskin.

llvm-svn: 150929
parent e6c32e62
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment