Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Oct 2006 10:47:31 +0300
From:      Diomidis Spinellis <dds@aueb.gr>
To:        LI Xin <delphij@delphij.net>
Cc:        freebsd-hackers@FreeBSD.ORG, freebsd-current@FreeBSD.ORG
Subject:   Re: Call for testers: Replace GNU gzip with NetBSD's gzip implementation
Message-ID:  <4529FE93.3050007@aueb.gr>
In-Reply-To: <4529BF26.1040108@delphij.net>
References:  <4529BF26.1040108@delphij.net>

next in thread | previous in thread | raw e-mail | index | archive | help
LI Xin wrote:
> Here is a patchset that replaces the GNU gzip with NetBSD's gzip
> implementation, which uses zlib to do actual compress/decompress operation:
> 
> Go to your src/usr.bin and execute the following shar archive:
> 
> http://people.freebsd.org/~delphij/for_review/bsd_gzip/shar-bsd-gzip-20061009
> 
> Then, go to src/ and apply the following patch:
> 
> http://people.freebsd.org/~delphij/for_review/bsd_gzip/patch-remove-gnu-gzip-01
> 
> Currently this gzip implementation should work as a drop-in replacement
> for GNU gzip.  I am still working on some style issues here, etc., so
> the current focus is functional test.
> 
> Any sort of comments are welcome.

The file zuncompress.c is very closely related to
usr.bin/compress/zopen.c.  Both are derived from work I did in 1992 to 
package the compress(1) functionality into a library.  Maybe the time is 
now ripe to actually move the compression/decompression code into a 
reusable library component.

Diomidis - dds@



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4529FE93.3050007>