From owner-freebsd-stable@FreeBSD.ORG Sun Jul 6 22:16:49 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 929B291 for ; Sun, 6 Jul 2014 22:16:49 +0000 (UTC) Received: from ravenloft.kiev.ua (ravenloft.kiev.ua [94.244.131.95]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 53E4E2AEE for ; Sun, 6 Jul 2014 22:16:48 +0000 (UTC) Date: Mon, 7 Jul 2014 01:16:23 +0300 From: Alex Kozlov To: Jamie Landeg-Jones Subject: Re: unzip bugs? Message-ID: <20140706221623.GA5069@ravenloft.kiev.ua> References: <201407062157.s66LvKGd038006@dyslexicfish.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201407062157.s66LvKGd038006@dyslexicfish.net> Cc: garbytrash@gmail.com, freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jul 2014 22:16:49 -0000 On Sun, Jul 06, 2014 at 10:57:20PM +0100, Jamie Landeg-Jones wrote: > Zenny wrote: > > Successfully decompressed with tar, but while opening the files, it says: > > > > "Not a JPEG file: starts with 0x00 0x00" > > I've managed to create a zip file that gives the same problem you > describe: > > unzip says 'skipping non-regular entry' This means that archive entry is not marked as file or directory. I think zip archive is corrupted. > tar extracts files with the correct name and size, but the files > are made up entirely of nulls. > > I'm going go look deeper into this, but in the meantime, I found > unzip in ports (archivers/unzip) to work as expected, so give that a > go! The info-unzip from ports doesn't have this sanity check, neither is bsdtar. -- Alex