Return-Path: X-Original-To: apmail-corinthia-commits-archive@minotaur.apache.org Delivered-To: apmail-corinthia-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 675B21823C for ; Sun, 2 Aug 2015 08:09:54 +0000 (UTC) Received: (qmail 60426 invoked by uid 500); 2 Aug 2015 08:09:54 -0000 Delivered-To: apmail-corinthia-commits-archive@corinthia.apache.org Received: (qmail 60408 invoked by uid 500); 2 Aug 2015 08:09:54 -0000 Mailing-List: contact commits-help@corinthia.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@corinthia.incubator.apache.org Delivered-To: mailing list commits@corinthia.incubator.apache.org Received: (qmail 60399 invoked by uid 99); 2 Aug 2015 08:09:54 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Aug 2015 08:09:54 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id E5604D99B4 for ; Sun, 2 Aug 2015 08:09:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.716 X-Spam-Level: * X-Spam-Status: No, score=1.716 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.064] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id HTT66X33y6Sr for ; Sun, 2 Aug 2015 08:09:53 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with SMTP id 3A0FF2104D for ; Sun, 2 Aug 2015 08:09:53 +0000 (UTC) Received: (qmail 60396 invoked by uid 99); 2 Aug 2015 08:09:53 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Aug 2015 08:09:53 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 0986FDFCB4; Sun, 2 Aug 2015 08:09:53 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jani@apache.org To: commits@corinthia.incubator.apache.org Message-Id: <624333bfc6cb4352a844a40d86b93f21@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: incubator-corinthia git commit: Inflate working, ready to be integrated and tested quite a bit more Date: Sun, 2 Aug 2015 08:09:53 +0000 (UTC) Repository: incubator-corinthia Updated Branches: refs/heads/newZipExperiment2 ab5f29b1d -> 1375ad9a0 Inflate working, ready to be integrated and tested quite a bit more Project: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/commit/1375ad9a Tree: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/tree/1375ad9a Diff: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/diff/1375ad9a Branch: refs/heads/newZipExperiment2 Commit: 1375ad9a09feee692dbf01f04b0b5c38ea7a17e5 Parents: ab5f29b Author: jani Authored: Sun Aug 2 10:09:33 2015 +0200 Committer: jani Committed: Sun Aug 2 10:09:33 2015 +0200 ---------------------------------------------------------------------- DocFormats/platform/src/Wrapper_zip.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/1375ad9a/DocFormats/platform/src/Wrapper_zip.c ---------------------------------------------------------------------- diff --git a/DocFormats/platform/src/Wrapper_zip.c b/DocFormats/platform/src/Wrapper_zip.c index c4cc2e3..b0cd41f 100644 --- a/DocFormats/platform/src/Wrapper_zip.c +++ b/DocFormats/platform/src/Wrapper_zip.c @@ -152,10 +152,10 @@ static int readDirectory(FILE *zipFile, DFextZipHandleP zipHandle) return -1; // Save information - zipDirEntry->compressedSize = recFile->compressedSize; - zipDirEntry->fileNameLength = recFile->fileNameLength; - zipDirEntry->uncompressedSize = recFile->uncompressedSize; - zipDirEntry->compressionMethod = recDir->compressionMethod; + zipDirEntry->compressedSize = recFile->compressedSize; + zipDirEntry->fileNameLength = recFile->fileNameLength; + zipDirEntry->uncompressedSize = recFile->uncompressedSize; + zipDirEntry->compressionMethod = recFile->compressionMethod; // Add filename zipDirEntry->fileName = xmalloc(zipDirEntry->fileNameLength + 1);