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
Loading
Please register or sign in to comment