Re: proxy support for wget retriever
On Tue Jan 02, 2001 at 12:16:57PM +0100, Tollef Fog Heen wrote:
> | If you can show me where it should give an error, I'll
> | add it right in...
>
> Imho, it should require to get a hostname, and a directory. My
Hmm. I'm not sure I understand. Assuming you are talking about the URL wget
is asked to retrieve, in wget.c open_socket() if gethostbyname(host) fails, it
calls error_msg_and_die("cannot resolve %s\n", host). If the URL you fed to
wget is crap, then the GET will fail. I can't know in advance either way.
Or am I misunderstanding you?
> Also, the manpage for setenv is not clear whether the value is copied
> or not. If it is not, we should add a strdup around the
> debconf->value in the setenv. (To prevent problems if we add more
> questions).
The source to setenv is clear. It mallocs and copies as needed
internally, so no, you do not need a persistant string.
-Erik
--
Erik B. Andersen email: andersee@debian.org
--This message was written using 73% post-consumer electrons--
Reply to: