提交 76353b42 编写于 作者: R Ramiro Polla

Remove underscores before fcntl flags

Originally committed as revision 9599 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 4b54c6d0
......@@ -1345,7 +1345,7 @@ int av_tempfile(char *prefix, char **filename) {
return -1;
}
#if !defined(HAVE_MKSTEMP)
fd = open(*filename, _O_RDWR | _O_BINARY | _O_CREAT, 0444);
fd = open(*filename, O_RDWR | O_BINARY | O_CREAT, 0444);
#else
snprintf(*filename, len, "/tmp/%sXXXXXX", prefix);
fd = mkstemp(*filename);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册