[compiler-rt] r334138 - [sanitizer] Replace deprecated mktemp with mkstemp
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 6 15:05:48 PDT 2018
Author: vitalybuka
Date: Wed Jun 6 15:05:48 2018
New Revision: 334138
URL: http://llvm.org/viewvc/llvm-project?rev=334138&view=rev
Log:
[sanitizer] Replace deprecated mktemp with mkstemp
Modified:
compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_libc_test.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_libc_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_libc_test.cc?rev=334138&r1=334137&r2=334138&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_libc_test.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_libc_test.cc Wed Jun 6 15:05:48 2018
@@ -84,7 +84,7 @@ static void temp_file_name(char *buf, si
tmpdir = GetEnv("EXTERNAL_STORAGE");
#endif
internal_snprintf(buf, bufsize, "%s/%sXXXXXX", tmpdir, prefix);
- ASSERT_TRUE(mktemp(buf));
+ ASSERT_TRUE(mkstemp(buf));
#endif
}
More information about the llvm-commits
mailing list