summaryrefslogtreecommitdiffstats
path: root/minzip
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-05-08 19:58:19 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-05-08 19:58:19 +0200
commitc7d7eb2225c58034d7632ad00bd7269425e7b071 (patch)
treedab2c28ccb196fcafca7356b2f4b40944e45e405 /minzip
parentMerge "applypatch: Use bsdiff from external/bsdiff." (diff)
parentupdater, minzip: Remove unnecessary O_SYNC flags. (diff)
downloadandroid_bootable_recovery-c7d7eb2225c58034d7632ad00bd7269425e7b071.tar
android_bootable_recovery-c7d7eb2225c58034d7632ad00bd7269425e7b071.tar.gz
android_bootable_recovery-c7d7eb2225c58034d7632ad00bd7269425e7b071.tar.bz2
android_bootable_recovery-c7d7eb2225c58034d7632ad00bd7269425e7b071.tar.lz
android_bootable_recovery-c7d7eb2225c58034d7632ad00bd7269425e7b071.tar.xz
android_bootable_recovery-c7d7eb2225c58034d7632ad00bd7269425e7b071.tar.zst
android_bootable_recovery-c7d7eb2225c58034d7632ad00bd7269425e7b071.zip
Diffstat (limited to 'minzip')
-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) {