mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Fix for gzip bug in WARC + zlib 1.2.4.
This commit is contained in:
parent
eed850d938
commit
1316701791
@ -1,3 +1,8 @@
|
||||
2011-11-09 Gijs van Tulder <address@hidden>
|
||||
|
||||
* warc.c: Call gzdopen() with wb9 instead of wb+9, which fails on
|
||||
zlib version >= 1.2.4.
|
||||
|
||||
2011-11-04 Steven Schweda <address@hidden>
|
||||
|
||||
* warc.c [! WINDOWS]: Include <libgen.h>.
|
||||
|
@ -169,7 +169,7 @@ warc_write_start_record ()
|
||||
fflush (warc_current_file);
|
||||
|
||||
/* Start a new GZIP stream. */
|
||||
warc_current_gzfile = gzdopen (dup (fileno (warc_current_file)), "wb+9");
|
||||
warc_current_gzfile = gzdopen (dup (fileno (warc_current_file)), "wb9");
|
||||
warc_current_gzfile_uncompressed_size = 0;
|
||||
|
||||
if (warc_current_gzfile == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user