diff options
author | Tao Bao <tbao@google.com> | 2016-05-08 20:06:38 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-05-08 20:06:38 +0200 |
commit | eef053fda1ed84b71f245dfe2890fd35c2ffe3bc (patch) | |
tree | 171e375828cf00e1ae4456fe35ba35ad66aede61 /minzip/Zip.c | |
parent | Merge "applypatch: Use bsdiff from external/bsdiff." am: 704cac2f99 (diff) | |
parent | Merge "updater, minzip: Remove unnecessary O_SYNC flags." (diff) | |
download | android_bootable_recovery-eef053fda1ed84b71f245dfe2890fd35c2ffe3bc.tar android_bootable_recovery-eef053fda1ed84b71f245dfe2890fd35c2ffe3bc.tar.gz android_bootable_recovery-eef053fda1ed84b71f245dfe2890fd35c2ffe3bc.tar.bz2 android_bootable_recovery-eef053fda1ed84b71f245dfe2890fd35c2ffe3bc.tar.lz android_bootable_recovery-eef053fda1ed84b71f245dfe2890fd35c2ffe3bc.tar.xz android_bootable_recovery-eef053fda1ed84b71f245dfe2890fd35c2ffe3bc.tar.zst android_bootable_recovery-eef053fda1ed84b71f245dfe2890fd35c2ffe3bc.zip |
Diffstat (limited to 'minzip/Zip.c')
-rw-r--r-- | minzip/Zip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/minzip/Zip.c b/minzip/Zip.c index 9f550f8b4..d557daa7f 100644 --- a/minzip/Zip.c +++ b/minzip/Zip.c @@ -968,7 +968,7 @@ bool mzExtractRecursive(const ZipArchive *pArchive, setfscreatecon(secontext); } - int fd = open(targetFile, O_CREAT|O_WRONLY|O_TRUNC|O_SYNC, + int fd = open(targetFile, O_CREAT|O_WRONLY|O_TRUNC, UNZIP_FILEMODE); if (secontext) { |