[MPlayer-cvslog] r27289 - trunk/stream/stream_cddb.c

reimar subversion at mplayerhq.hu
Tue Jul 15 19:35:53 CEST 2008


Author: reimar
Date: Tue Jul 15 19:35:52 2008
New Revision: 27289

Log:
Replace S_IREAD|S_IWRITE by POSIX-compatible S_IRUSR|S_IWUSR (not exactly the same, but should not matter).


Modified:
   trunk/stream/stream_cddb.c

Modified: trunk/stream/stream_cddb.c
==============================================================================
--- trunk/stream/stream_cddb.c	(original)
+++ trunk/stream/stream_cddb.c	Tue Jul 15 19:35:52 2008
@@ -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;



More information about the MPlayer-cvslog mailing list