Your message dated Mon, 10 Mar 2008 21:32:06 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#464217: fixed in bzip2 1.0.4-4
has caused the Debian Bug report #464217,
regarding bzip2: bzcmp sometimes loses exit status
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
464217: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=464217
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: bzip2
Version: 1.0.3-6
Severity: normal
Tags: patch

In its one-argument usage ('bzcmp foo.bz2'), bzcmp loses the exit
status, making it rather useless in scripts.  The attached patch fixes
this.  (It also fixes temp file cleanup, by only creating a temp file
in the codepath where it uses and deletes it.)

-- 
Inbound and outbound email scanned for spam and viruses by the
DoubleCheck Email Manager: http://www.doublecheckemail.com/
--- bzcmp
+++ bzcmp
@@ -37,10 +37,6 @@
        echo "Usage: $prog [${comp}_options] file [file]"
        exit 1
 fi
-tmp=`tempfile -d /tmp -p bz` || {
-      echo 'cannot create a temporary file' >&2
-      exit 1
-}
 set $FILES
 if test $# -eq 1; then
        FILE=`echo "$1" | sed 's/.bz2$//'`
@@ -53,6 +49,10 @@
                 case "$2" in
                *.bz2)
                        F=`echo "$2" | sed 's|.*/||;s|.bz2$||'`
+                       tmp=`tempfile -d /tmp -p bz` || {
+                               echo 'cannot create a temporary file' >&2
+                               exit 1
+                       }
                         bzip2 -cdfq "$2" > $tmp
                         bzip2 -cdfq "$1" | $comp $OPTIONS - $tmp
                         STAT="$?"
@@ -69,8 +69,8 @@
                         STAT="$?";;
                 esac;;
        esac
-        exit "$STAT"
 else
        echo "Usage: $prog [${comp}_options] file [file]"
        exit 1
 fi
+exit "$STAT"

--- End Message ---
--- Begin Message ---
Source: bzip2
Source-Version: 1.0.4-4

We believe that the bug you reported is fixed in the latest version of
bzip2, which is due to be installed in the Debian FTP archive:

bzip2-doc_1.0.4-4_all.deb
  to pool/main/b/bzip2/bzip2-doc_1.0.4-4_all.deb
bzip2_1.0.4-4.diff.gz
  to pool/main/b/bzip2/bzip2_1.0.4-4.diff.gz
bzip2_1.0.4-4.dsc
  to pool/main/b/bzip2/bzip2_1.0.4-4.dsc
bzip2_1.0.4-4_i386.deb
  to pool/main/b/bzip2/bzip2_1.0.4-4_i386.deb
lib64bz2-1.0_1.0.4-4_i386.deb
  to pool/main/b/bzip2/lib64bz2-1.0_1.0.4-4_i386.deb
lib64bz2-dev_1.0.4-4_i386.deb
  to pool/main/b/bzip2/lib64bz2-dev_1.0.4-4_i386.deb
libbz2-1.0_1.0.4-4_i386.deb
  to pool/main/b/bzip2/libbz2-1.0_1.0.4-4_i386.deb
libbz2-dev_1.0.4-4_i386.deb
  to pool/main/b/bzip2/libbz2-dev_1.0.4-4_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Santiago Ruano Rincón <[EMAIL PROTECTED]> (supplier of updated bzip2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 10 Mar 2008 20:41:46 +0100
Source: bzip2
Binary: libbz2-1.0 libbz2-dev bzip2 lib64bz2-1.0 lib64bz2-dev lib32bz2-1.0 
lib32bz2-dev bzip2-doc
Architecture: source all i386
Version: 1.0.4-4
Distribution: unstable
Urgency: low
Maintainer: Anibal Monsalve Salazar <[EMAIL PROTECTED]>
Changed-By: Santiago Ruano Rincón <[EMAIL PROTECTED]>
Description: 
 bzip2      - high-quality block-sorting file compressor - utilities
 bzip2-doc  - high-quality block-sorting file compressor - documentation
 lib64bz2-1.0 - high-quality block-sorting file compressor library - 64bit 
runtim
 lib64bz2-dev - high-quality block-sorting file compressor library - 64bit 
develo
 libbz2-1.0 - high-quality block-sorting file compressor library - runtime
 libbz2-dev - high-quality block-sorting file compressor library - development
Closes: 464217
Changes: 
 bzip2 (1.0.4-4) unstable; urgency=low
 .
   * bzcmp: Fixed exit status for one-argument usage. Thanks to
     Peter Samuelson <[EMAIL PROTECTED]> (Closes: #464217).
   * debian/control: Added ${shlibs:Depends} to bzip2's Depends
Files: 
 51f44be06b5d77f796fca2bd2a4b69e2 870 utils important bzip2_1.0.4-4.dsc
 50d5b50aae20850af72d6da803b0bbb0 73707 utils important bzip2_1.0.4-4.diff.gz
 c6e3d9c51009aa6c422a0521a650d280 327742 doc optional bzip2-doc_1.0.4-4_all.deb
 1ee74b52c8f9b37d21ffc93a53df693b 44404 libs important 
libbz2-1.0_1.0.4-4_i386.deb
 47a30bd44eb7faecf17a5c33bf8417b9 31630 libdevel optional 
libbz2-dev_1.0.4-4_i386.deb
 d58c53f80185843df4798e3f17c1622e 44968 utils optional bzip2_1.0.4-4_i386.deb
 0dc7db4eefcb3a4088b1cc8ce94364cf 37610 libs optional 
lib64bz2-1.0_1.0.4-4_i386.deb
 6692ead525491c41d4d09ecb7b682ae9 29732 libdevel optional 
lib64bz2-dev_1.0.4-4_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH1aQXQUuEI2/szeARAo7rAJ9+qqJ8jhl1757UB3lFkM5PCEmNtQCdFFi+
s17GbkqtXgU7KIZe4oqwBx4=
=XZqD
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to