SPECS: wget.spec - starting upgrade to 1.10

Paweł Sakowski saq at pld-linux.org
Wed Jun 22 22:15:33 CEST 2005


On Wed, 2005-06-22 at 20:27 +0200, Tomasz Wittner wrote:
> Sorry - I've just checked wget-1.9.10 and wget-1.10 without this patch - 
> user_agent = blabla in ~/.wgetrc works. I don't know why - what is the 
> meaning of 2nd field of struct commands[] = (from src/init.c)?

It's passed to the setter function (cmd_spec_useragent in this case) as
the third argument. cmd_spec_useragent's third argument is called "void
*place_ignored", and that's for a reason.

-- 
Paweł Sakowski <saq at pld-linux.org>
PLD Linux Distribution




More information about the pld-devel-en mailing list