summaryrefslogtreecommitdiff
blob: 2b844c1fac1ed729048915e45023fa778c97d5aa (plain)
1
2
3
4
5
6
7
8
9
10
11
--- mp3val-0.1.8-src/crossapi.cpp.orig	2010-05-03 10:45:53.000000000 -0700
+++ mp3val-0.1.8-src/crossapi.cpp	2017-02-19 23:38:21.000000000 -0000
@@ -241,7 +241,7 @@
 //Moving failed due to different logical drives of source and destination. Let's copy:
 	id=open(szOldName,O_RDONLY);
 	if(id==-1) return 0;
-	od=open(szNewName,O_WRONLY|O_CREAT|O_TRUNC);
+	od=open(szNewName, O_WRONLY|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
 	if(od==-1) {
 		close(id);
 		return 0;