diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-30 03:08:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-30 03:08:54 +0100 |
commit | cdb747b791914a30c287a3a8e33d1b635e431707 (patch) | |
tree | be22ab4ebfae7f170acb577486d0edc7e6d14279 /media-sound/mp3val/files/mp3val-0.1.8-open.patch | |
parent | 496936ff0f7db69d1f7317341230acb866e3c330 (diff) |
gentoo auto-resync : 30:07:2022 - 03:08:54
Diffstat (limited to 'media-sound/mp3val/files/mp3val-0.1.8-open.patch')
-rw-r--r-- | media-sound/mp3val/files/mp3val-0.1.8-open.patch | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/media-sound/mp3val/files/mp3val-0.1.8-open.patch b/media-sound/mp3val/files/mp3val-0.1.8-open.patch index 2b844c1fac1e..499e23272387 100644 --- a/media-sound/mp3val/files/mp3val-0.1.8-open.patch +++ b/media-sound/mp3val/files/mp3val-0.1.8-open.patch @@ -1,11 +1,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 +--- a/crossapi.cpp ++++ b/crossapi.cpp @@ -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; + //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;
|