mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
Replace S_IREAD|S_IWRITE by POSIX-compatible S_IRUSR|S_IWUSR (not exactly the same, but should not matter).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27289 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b945a124ef
commit
803385a5d7
@ -390,7 +390,7 @@ cddb_write_cache(cddb_data_t *cddb_data) {
|
||||
|
||||
sprintf( file_name, "%s%08lx", cddb_data->cache_dir, cddb_data->disc_id );
|
||||
|
||||
file_fd = creat(file_name, S_IREAD|S_IWRITE);
|
||||
file_fd = creat(file_name, S_IRUSR|S_IWUSR);
|
||||
if( file_fd<0 ) {
|
||||
perror("create");
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user