Call for testers: Replace GNU gzip with NetBSD's gzip
implementation
Diomidis Spinellis
dds at aueb.gr
Mon Oct 9 00:48:23 PDT 2006
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@
More information about the freebsd-hackers
mailing list