Package: iproute
Version: 20041019-3
Severity: minor
Tags: patch

Netbug creates an email that includes a uuencoded tar.gz file. The filename is 
called /tmp/netbug.bE0N7P/filemrlmhQtar.gz. This is unnecessarily confusing.
Please apply the attached patch to make the filename more like 
filemrlmhQ.tar.gz.

Regards,

Allard Hoeve

PS: This patch also gives an extra space before the { character. This might 
space
    character might conflict with the patch included in my previous bugreport.


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-ac10-byte
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages iproute depends on:
ii  libatm1                     2.4.1-17     shared library for ATM (Asynchrono
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an

-- no debconf information
--- /sbin/netbug.orig   2005-06-14 10:30:09.965229662 +0200
+++ /sbin/netbug        2005-06-14 10:29:55.465434793 +0200
@@ -7,7 +7,7 @@
 [ -z "$mail" ] && [EMAIL PROTECTED]
 
 netbug=`mktemp -d -t netbug.XXXXXX` || { echo "$0: Cannot create temporary 
directory" >&2; exit 1;  }
-netbugtar=`tempfile -d $netbug --suffix=tar.gz` || { echo "$0: Cannot create 
temporary file" >&2; exit 1;  }
+netbugtar=`tempfile -d $netbug --suffix=.tar.gz` || { echo "$0: Cannot create 
temporary file" >&2; exit 1; }
 tmppath=$netbug
 trap "/bin/rm -rf $netbug $netbugtar" 0 1 2 3 13 15
 

Reply via email to