İsmail Dönmez: Change to mktemp template to make it compatible with Linux.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@180267 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Howard Hinnant 2013-04-25 16:08:55 +00:00
parent 05e7d24b3d
commit a5f0e6c5c1

View File

@ -54,7 +54,7 @@ get_temp_file_name()
std::string s(p);
free( p );
#else
std::string s("temp.XXXX");
std::string s("temp.XXXXXX");
mktemp(&s[0]);
#endif
return s;