summaryrefslogtreecommitdiffstats
path: root/minzip/Zip.c
diff options
context:
space:
mode:
authorAlistair Strachan <alistair.strachan@imgtec.com>2016-05-08 20:09:50 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-05-08 20:09:50 +0200
commitaec86d3692a9271db027e4478178c02451c558cc (patch)
tree171e375828cf00e1ae4456fe35ba35ad66aede61 /minzip/Zip.c
parentMerge "applypatch: Use bsdiff from external/bsdiff." am: 704cac2f99 am: 7caebae682 (diff)
parentMerge "updater, minzip: Remove unnecessary O_SYNC flags." am: c7d7eb2225 (diff)
downloadandroid_bootable_recovery-aec86d3692a9271db027e4478178c02451c558cc.tar
android_bootable_recovery-aec86d3692a9271db027e4478178c02451c558cc.tar.gz
android_bootable_recovery-aec86d3692a9271db027e4478178c02451c558cc.tar.bz2
android_bootable_recovery-aec86d3692a9271db027e4478178c02451c558cc.tar.lz
android_bootable_recovery-aec86d3692a9271db027e4478178c02451c558cc.tar.xz
android_bootable_recovery-aec86d3692a9271db027e4478178c02451c558cc.tar.zst
android_bootable_recovery-aec86d3692a9271db027e4478178c02451c558cc.zip
Diffstat (limited to '')
-rw-r--r--minzip/Zip.c2
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) {