summaryrefslogtreecommitdiffstats
path: root/libcxx
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2013-04-25 16:08:55 +0000
committerHoward Hinnant <hhinnant@apple.com>2013-04-25 16:08:55 +0000
commita2ee3a6e2ee7000ca3cc8e916bbd93f8d1b4d23a (patch)
tree4af2c779c670494f8a57ff5e76a47871485f8759 /libcxx
parent046a8ece54b0062506a8fd4c3a5d07d127e3d999 (diff)
downloadbcm5719-llvm-a2ee3a6e2ee7000ca3cc8e916bbd93f8d1b4d23a.tar.gz
bcm5719-llvm-a2ee3a6e2ee7000ca3cc8e916bbd93f8d1b4d23a.zip
İsmail Dönmez: Change to mktemp template to make it compatible with Linux.
llvm-svn: 180267
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/test/support/platform_support.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/support/platform_support.h b/libcxx/test/support/platform_support.h
index 4633ce047f0..3ef9e329de1 100644
--- a/libcxx/test/support/platform_support.h
+++ b/libcxx/test/support/platform_support.h
@@ -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;
OpenPOWER on IntegriCloud