mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 11:54:01 +00:00
Use xio_open on all platforms, not the native open call.
This commit is contained in:
parent
1a46dc1d7e
commit
c791234882
@ -631,9 +631,9 @@ avi_t* AVI_open_output_file(char * filename)
|
||||
AVI->fdes = xio_open(filename, O_RDWR|O_CREAT,
|
||||
S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH);
|
||||
#elif defined(COMP_MINGW) || defined(COMP_CYGWIN)
|
||||
AVI->fdes = open(filename, O_RDWR|O_CREAT|O_BINARY, S_IRUSR | S_IWUSR);
|
||||
AVI->fdes = xio_open(filename, O_RDWR|O_CREAT|O_BINARY, S_IRUSR | S_IWUSR);
|
||||
#else
|
||||
AVI->fdes = open(filename, O_RDWR|O_CREAT|O_BINARY,
|
||||
AVI->fdes = xio_open(filename, O_RDWR|O_CREAT|O_BINARY,
|
||||
S_IRUSR | S_IWUSR | S_IGRP | S_IROTH);
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user