Your message dated Mon, 18 Sep 2006 18:32:11 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#379397: fixed in p7zip 4.42.dfsg.1-3
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: p7zip
Severity: normal
Tags: patch

A few improvements to p7zip wrapper:

- Fail when passed unknown options!
- Use exec when possible to avoid a fork.
- Fix tty detection.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-amd64-k8
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
diff -ur p7zip-4.42.dfsg.1.old/debian/scripts/p7zip 
p7zip-4.42.dfsg.1/debian/scripts/p7zip
--- p7zip-4.42.dfsg.1.old/debian/scripts/p7zip  2006-07-23 12:06:13.000000000 
+0200
+++ p7zip-4.42.dfsg.1/debian/scripts/p7zip      2006-07-23 12:08:39.000000000 
+0200
@@ -19,7 +19,7 @@
   case "$1" in
     -d) compress=false ;; # decompressing
     -c) echo "$0: ignoring $1 option (not yet implemented)" ;;
-    -h|--help) usage ;;
+    -h|--help|-*) usage ;;
     *)
       if [ "${file}" = "" ] ; then
         file="$1"
@@ -42,26 +42,26 @@
 if [ "${file}" != "" ] ; then
   if ${compress} ; then
     7zr a "${file}.7z" "${file}"
-    rm "${file}"
+    exec rm "${file}"
   else
     case "${file}" in
       *.7z)
         7zr x "${file}"
-        rm "${file}"
+        exec rm "${file}"
       ;;
       *)
         echo "$0: ${file}: unknown suffix -- ignored"
+        exit 0
       ;;
     esac
   fi
-  exit 0
 fi
 
 tmp=`mktemp`
 trap "rm -f ${tmp}" 0
 
 if ${compress} ; then
-  if tty > /dev/null ; then
+  if tty -s <&1 >/dev/null ; then
     echo "$0: compressed data not written to a terminal."
     echo "For help, type: $0 -h"
     exit 1
@@ -74,4 +74,4 @@
   7zr x ${tmp} -so 2>/dev/null | cat
 fi
 
-rm -f ${tmp}
+exec rm -f ${tmp}

--- End Message ---
--- Begin Message ---
Source: p7zip
Source-Version: 4.42.dfsg.1-3

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

p7zip-full_4.42.dfsg.1-3_i386.deb
  to pool/main/p/p7zip/p7zip-full_4.42.dfsg.1-3_i386.deb
p7zip_4.42.dfsg.1-3.diff.gz
  to pool/main/p/p7zip/p7zip_4.42.dfsg.1-3.diff.gz
p7zip_4.42.dfsg.1-3.dsc
  to pool/main/p/p7zip/p7zip_4.42.dfsg.1-3.dsc
p7zip_4.42.dfsg.1-3_i386.deb
  to pool/main/p/p7zip/p7zip_4.42.dfsg.1-3_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.
Mohammed Adnène Trojette <[EMAIL PROTECTED]> (supplier of updated p7zip 
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: Tue, 19 Sep 2006 02:15:01 +0200
Source: p7zip
Binary: p7zip-full p7zip
Architecture: source i386
Version: 4.42.dfsg.1-3
Distribution: unstable
Urgency: low
Maintainer: Mohammed Adnène Trojette <[EMAIL PROTECTED]>
Changed-By: Mohammed Adnène Trojette <[EMAIL PROTECTED]>
Description: 
 p7zip      - 7-Zip is a file archiver with high compression ratio
 p7zip-full - 7-Zip is a file archiver with high compression ratio
Closes: 379397
Changes: 
 p7zip (4.42.dfsg.1-3) unstable; urgency=low
 .
   * Include improvements to Robert Millan's wrapper script. (Closes: #379397)
   * Correct watch file to use <http://qa.debian.org/watch/sf.php/>.
Files: 
 0bd58f04d9d525f54406012c7c3371ab 602 utils optional p7zip_4.42.dfsg.1-3.dsc
 2b9d7c6e8d94b645a9cd602fa342c3a5 6270 utils optional 
p7zip_4.42.dfsg.1-3.diff.gz
 845a5dd2e72184d6c7219c4b757899be 316124 utils optional 
p7zip_4.42.dfsg.1-3_i386.deb
 dd8a2f516f5017abcf37ca2822ed65a9 1327210 utils optional 
p7zip-full_4.42.dfsg.1-3_i386.deb

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

iD8DBQFFD0QgOU3FkQ7XBOoRApFoAJ9QQBmnVzXBCSgWL/Zu4C9DgQ/akQCgsAMG
J9HKkUhyQGIrjdvpQEVt9YQ=
=tvOc
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to