changeset 27257:58d731fe531c

Replace S_IREAD|S_IWRITE by POSIX-compatible S_IRUSR|S_IWUSR (not exactly the same, but should not matter).
author reimar
date Tue, 15 Jul 2008 17:35:52 +0000
parents d2f920cb9847
children 82fd0e4c93c9
files stream/stream_cddb.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_cddb.c	Tue Jul 15 16:39:26 2008 +0000
+++ b/stream/stream_cddb.c	Tue Jul 15 17:35:52 2008 +0000
@@ -390,7 +390,7 @@
 	
 	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;