Combine duplicated code.
Add support for file names longer than MAX_FILE.
Fix autoconf warning
Support new WinNT ftp listing format
NEWS: cite the new change.
Fix a regression when -c and --content-dispositionn are used together.
Fallback to PATH_MAX when pathconf is not available
Recieve ftp listing even when .listing file exist and --no-clobber option is given.
Change growable string object to null terminate

src/ChangeLog
src/url.c

@ src/url.c:

Any function directly writing to the members of a growable string
object must call append_null(). Functions that already do this I've
changed to call append_null(): shorten_length(), append_char(),
append_string(), append_uri_pathel().

- (append_null)
New function to null terminate a growable string object.

- (shorten_length)
New function to shorten the length of a growable string object.
Support shorthand URLs in an input file
docs: fix errors and warnings with Texinfo 5

Or rather, with the development version 4.13.90, which will eventually
become Texinfo 5.0.

* doc/wget.texi: Use '@item' instead of '@itemx' in several places,
as Texinfo 5 refuses to process an '@itemx' that is not preceded by an
'@item'.

Copyright-paperwork-exempt: yes
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
added check for must-not-match request-header

* HTTPServer.pm: added check for must-not-match request-header
* Test-cookies.px: check cookie deletion and cookie domain matching
Fix -c with servers that don't specify a content-length

* retr.c (fd_read_body): Correctly check the return code from
write_data.
Fix comment
warc: fix format string for off_t
warc: fix format string for off_t in CDX function.
Fix compilation under gcc -std=c89
Added support for MD5-sess authentication
warc: remove a magic number
Bugfix: Avoid double free of iri->orig_url

When accessing a URL using IDN which directly redirects to another page,
wget would xfree_null(iri->orig_url); in src/retr.c:retrieve_url()
first, then later xfree_null(iri->orig_url); in src/iri.c:iri_free()
again.

This can be tested with wget -O /dev/null http://μφ.net