Package: smartmontools
Version: 5.33+5.34cvs20050802-3
Severity: minor
Tags: patch


10mail uses cat uselessly. Patch is attached.

-- Package-specific info:
Ouput of /usr/share/bug/smartmontools:
# CONFIG_IDE_TASK_IOCTL is not set

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.13-git8
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages smartmontools depends on:
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an

Versions of packages smartmontools recommends:
ii  mailx            1:8.1.2-0.20050715cvs-1 A simple mail user agent

-- no debconf information
--- 10mail.orig 2005-08-03 11:51:03.000000000 +0200
+++ 10mail      2005-09-09 11:25:55.000000000 +0200
@@ -6,5 +6,5 @@
 input=$1
 shift
 
-cat $input | /usr/bin/mail "$@"
+/usr/bin/mail "$@" < $input 
 

Reply via email to