You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
504 B

Fix mode consts.
Use modern consts present on modern Android.
--- src-orig/arjsfxjr.c 2017-09-08 21:45:38.418802563 +0200
+++ src/arjsfxjr.c 2017-09-08 22:12:14.130184907 +0200
@@ -520,7 +520,7 @@
}
}
create_subdir_tree(filename);
- if(file_type!=ARJT_DIR&&(atstream=open(filename, O_CREAT|O_TRUNC|O_BINARY|O_RDWR, S_IREAD|S_IWRITE))<0)
+ if(file_type!=ARJT_DIR&&(atstream=open(filename, O_CREAT|O_TRUNC|O_BINARY|O_RDWR, S_IRUSR|S_IWUSR))<0)
{
skip_file(M_CANTOPEN_F);
errors++;