severity 410605 normal
thanks

dpkg does not FTBFS, the severity was inflated.

          if (actualread < 0 ) {
            const char *errmsg = BZ2_bzerror(bzfile, &err);
            if (err == Z_ERRNO) {
              if (errno == EINTR) continue;
              errmsg= strerror(errno);
            }
            ohshite(_("%s: internal bzip2 error: `%s'"), v.buf, errmsg);
          }

I don't see any cases where BZ2_bzerror can set err to -1 (Z_ERRNO), but
when that test fails to match, it will go on to use the errmsg returned by
BZ2_bzerror, and will still fail correctly with what should be a good
error message.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to