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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user