+2007-02-13 Guillem Jover <guillem@debian.org>
+
+ * lib/compression.c (decompress_cat): Use BZ_IO_ERROR instead of
+ Z_ERRNO for the error value returned by BZ2_bzerror.
+
2007-02-12 Guillem Jover <guillem@debian.org>
* scripts/dpkg-shlibdeps.pl: Move syserr:s to be or'ed after exec:s.
* Do not use a build-stamp in debian/rules.
* Fix confusing bottom status lines in dselect, unifying them by removing
the method or package name and capitalizing. Closes: #9085
+ * Check proper error value returned by BZ2_bzerror. Closes: #410605
[ Updated dpkg translations ]
* Romanian (Eddy Petrișor).
if (actualread < 0 ) {
int err = 0;
const char *errmsg = BZ2_bzerror(bzfile, &err);
- if (err == Z_ERRNO) {
+ if (err == BZ_IO_ERROR) {
if (errno == EINTR) continue;
errmsg= strerror(errno);
}