Return-Path: X-Original-To: apmail-corinthia-dev-archive@minotaur.apache.org Delivered-To: apmail-corinthia-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E68BEC9A4 for ; Sun, 11 Jan 2015 02:38:38 +0000 (UTC) Received: (qmail 40496 invoked by uid 500); 11 Jan 2015 02:38:40 -0000 Delivered-To: apmail-corinthia-dev-archive@corinthia.apache.org Received: (qmail 40471 invoked by uid 500); 11 Jan 2015 02:38:40 -0000 Mailing-List: contact dev-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 dev@corinthia.incubator.apache.org Received: (qmail 40460 invoked by uid 99); 11 Jan 2015 02:38:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Jan 2015 02:38:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 11 Jan 2015 02:38:39 +0000 Received: (qmail 38777 invoked by uid 99); 11 Jan 2015 02:34:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Jan 2015 02:34:34 +0000 Date: Sun, 11 Jan 2015 02:34:34 +0000 (UTC) From: "Dennis E. Hamilton (JIRA)" To: dev@corinthia.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (COR-28) dfutil -zip produces invalid timestamps MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COR-28?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dennis E. Hamilton updated COR-28: ---------------------------------- Attachment: dfutil-2015-01-10-1821-7ZipTest.png dfutil-2015-01-10-1818-altWinZipView.png dfutil-2015-01-10-1811-altZipFolder.png The altZipFolder.png shows what the dfutil -zip result looks like when the original zlib128-dll.zip that was extracted is rezipped as zlib128-alt.zip. This is the Windows Explorer view of the zip as a folder. The altWinZipView is with the zip opened in WinZip and viewed sorted by by "Path." The 7ZipTest version is what 7Zip shows and what it reveals as a test result. > dfutil -zip produces invalid timestamps > --------------------------------------- > > Key: COR-28 > URL: https://issues.apache.org/jira/browse/COR-28 > Project: Corinthia > Issue Type: Bug > Environment: Windows > Reporter: Dennis E. Hamilton > Priority: Minor > Attachments: dfutil-2015-01-10-1811-altZipFolder.png, dfutil-2015-01-10-1818-altWinZipView.png, dfutil-2015-01-10-1821-7ZipTest.png > > > The dfutil -zip function produces a Zip that fails to pass the WinZip test. > The directory of files produced on behalf of COR-27 was zipped using dfutil -zip with result zlib128-alt.zip. . > When viewed as a folder on Windows, no "Date modified" entries appear. > When viewed in WInZip the timestamps shown are the current time (changing each time WinZip opens the archive). > When the archive is tested, 7-zip shows no "Modified" timestamps and declares that there are no errors in the Zip. > When the archive is tested with WinZIp, there is an error report for every central directory and local directory timestamp. Here are the first few and last error messages (and note that there are no separate folder entries in the produced zip): > Warnings were issued - see below for details > Testing ... > For file "DLL_FAQ.txt", the time stamp in the central directory is invalid, using the current system time instead. > For file "include\zconf.h", the time stamp in the central directory is invalid, using the current system time instead. > For file "include\zlib.h", the time stamp in the central directory is invalid, using the current system time instead. > For file "lib\zdll.lib", the time stamp in the central directory is invalid, using the current system time instead. > For file "lib\zlib.def", the time stamp in the central directory is invalid, using the current system time instead. > For file "README.txt", the time stamp in the central directory is invalid, using the current system time instead. > [ ... ] > For file "DLL_FAQ.txt", the time stamp in the local directory is invalid, using the current system time instead. > testing: DLL_FAQ.txt OK > For file "include\zconf.h", the time stamp in the local directory is invalid, using the current system time instead. > testing: include\zconf.h OK > For file "include\zlib.h", the time stamp in the local directory is invalid, using the current system time instead. > testing: include\zlib.h OK > For file "lib\zdll.lib", the time stamp in the local directory is invalid, using the current system time instead. > testing: lib\zdll.lib OK > For file "lib\zlib.def", the time stamp in the local directory is invalid, using the current system time instead. > testing: lib\zlib.def OK > For file "README.txt", the time stamp in the local directory is invalid, using the current system time instead. > testing: README.txt OK > [ ... ] > At least one warning-error was detected in D:\Apache\corinthia\git\build-win32-x86\build\bin\zlib128-alt.zip. -- This message was sent by Atlassian JIRA (v6.3.4#6332)