From 803385a5d71aec6a44afc9a6b9409eb5ed48722d Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 15 Jul 2008 17:35:52 +0000 Subject: [PATCH] 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 --- stream/stream_cddb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;