Package: muttprint
Version: 0.72d-9
Severity: normal
Tags: patch

Line 1670: Could not open ~/.tmp/muttprint.ps for writing

It would be nice if muttprint could expand ~. Patch attached.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1+scoflowctrl.1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages muttprint depends on:
ii  debconf [debconf-2.0]      1.5.21        Debian configuration management sy
ii  libtext-iconv-perl         1.7-1+b1      converts between character sets in
ii  perl                       5.10.0-10     Larry Wall's Practical Extraction 
ii  tetex-extra                2007-14       TeX Live: teTeX transitional packa
ii  texlive-fonts-recommended  2007-14       TeX Live: Recommended fonts
ii  texlive-latex-extra        2007.dfsg.1-2 TeX Live: LaTeX supplementary pack
ii  texlive-latex-recommended  2007-14       TeX Live: LaTeX recommended packag

Versions of packages muttprint recommends:
ii  bsd-mailx [mail-re 8.1.2-0.20071201cvs-3 A simple mail user agent
ii  mutt [mail-reader] 1.5.17+20080114-1+b1  text-based mailreader supporting M

-- debconf information excluded


-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
--- /tmp/muttprint	2008-05-12 12:27:58.000000000 +0100
+++ /usr/bin/muttprint	2008-05-12 12:30:27.000000000 +0100
@@ -1664,7 +1664,9 @@
 
 sub copyFile ($$) {
 	my $src = shift;
+	$src = glob($src);
 	my $dst = shift;
+	$dst = glob($dst);
 
 	open (SRC, "<$src") or fatalError "Could not open $src for reading:\n$!";
 	open (DST, ">$dst") or fatalError "Could not open $dst for writing:\n$!";

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to