[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch for transparent decompression
From: |
Reuben Thomas |
Subject: |
Re: Patch for transparent decompression |
Date: |
Wed, 30 Apr 2008 00:29:17 +0100 (BST) |
User-agent: |
Alpine 1.00 (DEB 882 2007-12-20) |
On Sun, 27 Apr 2008, Tony Abou-Assaleh wrote:
* The patch statically links with libz at compile time. If grep is installed
before libz, then it would need to be recompiled. Ideally, the user should
have an option of forcing static linking, use dynamic linking, or totally
disabling the option. How complicated is it to get that working?
I will fix that. I've prepared a first draft of the patch, but I need to
know how to support dynamic linking: I can either use dlopen/dlsym directly
(lowest code impact, but not so portable), or I can use libtool's libltdl
(more portable, but needs libtool, which grep seems not to use currently).
* In addition to documentation, I'd like to see some test cases. And the more
the better :O)
Thanks for your hints on this.
* My understanding is that zlib support .gz files. Any plans to integrate
libbzip2 as well?
Can that be left until later? We have already discussed it, but I'd rather
keep it separate from libz support.
And a question to the community: is --uncompress a good option name? Any
objections? Zlib uses the term 'decompress'.
I have changed to "decompress".
--
http://rrt.sc3d.org/ | canonize, v. to sanctify a dead sinner (Bierce)