From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KSey0-0000W2-Rt for mharc-grub-devel@gnu.org; Mon, 11 Aug 2008 17:30:16 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSexz-0000Tm-4t for grub-devel@gnu.org; Mon, 11 Aug 2008 17:30:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSexx-0000R6-A1 for grub-devel@gnu.org; Mon, 11 Aug 2008 17:30:14 -0400 Received: from [199.232.76.173] (port=35511 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSexx-0000Qo-2W for grub-devel@gnu.org; Mon, 11 Aug 2008 17:30:13 -0400 Received: from aybabtu.com ([69.60.117.155]:51797) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KSexw-0001XW-Jm for grub-devel@gnu.org; Mon, 11 Aug 2008 17:30:12 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1KSeq0-0007M1-M4 for grub-devel@gnu.org; Mon, 11 Aug 2008 23:22:01 +0200 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1KSewn-0002Kw-G3 for grub-devel@gnu.org; Mon, 11 Aug 2008 23:29:01 +0200 Date: Mon, 11 Aug 2008 23:29:01 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080811212901.GE6883@thorin> References: <48a04fce.3c432c0a.185e.ffffe7e9SMTPIN_ADDED@mx.google.com> <4EDC0971DA234DE69A57C17D30812C79@hp2003> <87hc9r8o0i.fsf@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87hc9r8o0i.fsf@xs4all.nl> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH] add pkzip support for gzio X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2008 21:30:15 -0000 On Mon, Aug 11, 2008 at 07:22:53PM +0200, Marco Gerards wrote: > Hi, > > "y.volta" writes: > > > i've made a little patch for pkziped ( deflate mode ) file. by > > using this, we can have both gunzip and pkunzip supported: they have > > only header different with the same file. ;-) > > > > please note, if your file is too small, pkzip will not compress it > > but store the orginal data to the output file. > > Isn't this patented? According to Wikipedia [1], the usual compression algorithm in ZIPs is the deflate, same as gzip. I believe older variants use the LZW algorithm, but the patents [2] for these have expired (at least in the US), and we happen to be using it already in our LZMA (and LZO?) code. [1] http://en.wikipedia.org/wiki/ZIP_(file_format) [2] http://en.wikipedia.org/wiki/LZW#Patents -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."