This is the mail archive of the
cygwin-apps-cvs
mailing list for the cygwin-apps project.
setup ChangeLog compress_bz.cc compress_bz.h i ...
- From: jturney at sourceware dot org
- To: cygwin-apps-cvs at sourceware dot org
- Date: 5 Nov 2010 22:53:23 -0000
- Subject: setup ChangeLog compress_bz.cc compress_bz.h i ...
CVSROOT: /cvs/cygwin-apps
Module name: setup
Changes by: jturney@sourceware.org 2010-11-05 22:53:23
Modified files:
. : ChangeLog compress_bz.cc compress_bz.h ini.cc
Log message:
* compress_bz.h (compress): Add endReached flag.
* compress_bz.cc (read, compress_bz): Use endReached flag to return 0
for a read when EOF has been reached, after BZ2_bzDecompress returns
BZ_STREAM_END, rather than continue to try to call BZ2_bzDecompress
beyond the end of the compressed data, generating a BZ_SEQUENCE_ERROR.
* ini.cc (do_remote_ini): Now that bz2_stream doesn't always have a
spurious error, detect and report if an error occurred decompressing.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/ChangeLog.diff?cvsroot=cygwin-apps&r1=2.724&r2=2.725
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/compress_bz.cc.diff?cvsroot=cygwin-apps&r1=2.15&r2=2.16
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/compress_bz.h.diff?cvsroot=cygwin-apps&r1=2.12&r2=2.13
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/ini.cc.diff?cvsroot=cygwin-apps&r1=2.52&r2=2.53