mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
Remove underscores before fcntl flags
Originally committed as revision 9599 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
4b54c6d084
commit
76353b42fa
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user