[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] Re: gnulib read-file module
From: |
Simon Josefsson |
Subject: |
[Bug-wget] Re: gnulib read-file module |
Date: |
Fri, 09 Jul 2010 20:56:22 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) |
Giuseppe Scrivano <address@hidden> writes:
> Hi Simon,
>
> I am putting some efforts to move wget from OpenSSL to GNU TLS but this
> bug was reported and that I have fixed in wget but I think you might be
> interested:
>
> http://lists.gnu.org/archive/html/bug-wget/2010-07/msg00010.html
Thanks for forwarding it. I see that you are using a GnuTLS static
library, any reason not to use a shared library instead?
I don't know how to best resolve this -- GnuTLS contains a dozen of
internal functions (mostly from gnulib, like the one you noticed) that
cannot be marked 'static' because they are used from multiple .c files
in GnuTLS. So they end up being exported into a static library. I
suppose almost any non-trivial static library has the same problem. Any
suggestions? We could re-#define each function like that in config.h
from e.g. 'read_file' to '_gnutls_read_file' but maintaining that list
will be a hassle.
/Simon
- [Bug-wget] Re: gnulib read-file module,
Simon Josefsson <=