blob: cadf9e7680bc03a3070c391081ecb59cf699117b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -Naur *src~/crossapi.cpp mp3val-0.1.8-src/crossapi.cpp
--- *src~/crossapi.cpp 2012-12-27 22:41:03.937615345 -0600
+++ mp3val-0.1.8-src/crossapi.cpp 2012-12-27 22:42:00.193637392 -0600
@@ -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;
|