Remove use of tmpnam.

This solves compilation with the Mac SDK 10.9.

BUG=3120, 3151
TEST=git try -t modules_tests:VideoProcessorIntegrationTest*
R=fischman@webrtc.org, henrike@webrtc.org, stefan@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/10739005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5917 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
kjellander@webrtc.org
2014-04-16 08:04:26 +00:00
parent 2c3f1abb69
commit 7de47bce12
7 changed files with 119 additions and 8 deletions

View File

@@ -118,7 +118,7 @@ class BaseLineFileUpdate : public BaseLineFileInterface {
virtual bool VerifyOrWrite() {
if (!verifier_->VerifyOrWrite()) {
std::string dir_path = webrtc::test::OutputPath() + kResourceSubDir;
if (!webrtc::test::CreateDirectory(dir_path)) {
if (!webrtc::test::CreateDir(dir_path)) {
printf("WARNING: Cannot create output dir: %s\n", dir_path.c_str());
return false;
}