summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-15 17:35:52 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-15 17:35:52 +0000
commit803385a5d71aec6a44afc9a6b9409eb5ed48722d (patch)
tree3070864720e4ec1db042e4c8335bde36576cb7ea /stream
parentb945a124efda487996d846324f94f05b15e0d160 (diff)
downloadmpv-803385a5d71aec6a44afc9a6b9409eb5ed48722d.tar.bz2
mpv-803385a5d71aec6a44afc9a6b9409eb5ed48722d.tar.xz
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
Diffstat (limited to 'stream')
-rw-r--r--stream/stream_cddb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_cddb.c b/stream/stream_cddb.c
index 2f177eb7bd..ff12d94c17 100644
--- a/stream/stream_cddb.c
+++ b/stream/stream_cddb.c
@@ -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;