[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] Problem with option setting.
From: |
vivi |
Subject: |
[Bug-wget] Problem with option setting. |
Date: |
Sun, 27 Jun 2010 23:57:56 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100515 Icedove/3.0.4 |
Hi all, in an attempt to add a config option this error occured when
running "./wget --config=/some/place/wgetrc google.com"
wget: init.c:723: setval_internal: Assertion `0 <= comind && ((size_t)
comind) < (sizeof (commands) / sizeof ((commands)[0]))' failed.
Aborted
I understand that this usually occurs when the commands are not
alphabetically sorted, however, this seems to be alphabetically sorted,
and the error does not occur when using other options.
133 { "cache", &opt.allow_cache, cmd_boolean },
134 #ifdef HAVE_SSL
135 { "cadirectory", &opt.ca_directory, cmd_directory },
136 { "certificate", &opt.cert_file, cmd_file },
137 { "certificatetype", &opt.cert_type, cmd_cert_type },
138 { "checkcertificate", &opt.check_cert, cmd_boolean },
139 #endif
140
141 { "config", &opt.choose_config, cmd_file },
142 { "connecttimeout", &opt.connect_timeout, cmd_time },
143 { "contentdisposition", &opt.content_disposition, cmd_boolean },
144 { "continue", &opt.always_rest, cmd_boolean },
145 { "convertlinks", &opt.convert_links, cmd_boolean },
146 { "cookies", &opt.cookies, cmd_boolean },
I set a breakpoint just before and changed comind from -1 to 100 which
seemed to appease wget and it continued.
Any help is greatly appreciated.
Reza
- [Bug-wget] Problem with option setting.,
vivi <=