wget bug report
<[email protected]> Mon, 13 Jun 2005 08:26:49 +0200
| Newsgroups | gmane.comp.web.wget.patches |
|---|---|
| Message-ID | <F5D6F7B9F852844298D4D323A035B91B01001E67@ZGNEXCL01.mvv.mvvcorp.de> |
Sorry for the crosspost, but the wget Web site is a little confusing on the point of where to send bug reports/patches.
Just installed wget 1.10 on Friday. Over the weekend, my scripts failed with the
following error (once for each wget run):
Assertion failed: wget_cookie_jar != NULL, file http.c, line 1723
Abort - core dumped
All of my command lines are similar to this:
/home/programs/bin/wget -q --no-cache --no-cookies -O /home/programs/etc/alte_se
iten/xsr.html 'http://www.enterasys.com/download/download.cgi?lib=XSR'
After taking a look at it, i implemented the following change to http.c and
tried again. It works for me, but i don't know what other implications my change
might have.
--- http.c.orig Mon Jun 13 08:04:23 2005
+++ http.c Mon Jun 13 08:06:59 2005
@@ -1715,6 +1715,7 @@
hs->remote_time = resp_header_strdup (resp, "Last-Modified");
/* Handle (possibly multiple instances of) the Set-Cookie header. */
+ if (opt.cookies)
{
char *pth = NULL;
int scpos;
Mit freundlichen Grüßen
MVV Energie AG
Abteilung AI.C
Andrew Jones
Telefon: +49 621 290-3645
Fax: +49 621 290-2677
E-Mail: [email protected] Internet: www.mvv.de
MVV Energie · Luisenring 49 · 68159 Mannheim
Handelsregister-Nr. HRB 1780
Vorsitzender des Aufsichtsrates: Oberbürgermeister Gerhard Widder
Vorstand: Dr. Rudolf Schulten (Vorsitzender) · Dr. Werner Dub · Hans-Jürgen Farrenkopf · Karl-Heinz Trautmann