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@
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to