tag 551543 + patch
thanks

On Tue, 14 Dec 2010 12:29:03 +0100, martin f krafft wrote:

> > diff -u /tmp/muttprint =muttprint
> > --- /tmp/muttprint      2010-06-15 14:42:37.711037595 +0200
> > +++ /usr/bin/muttprint  2010-06-15 14:42:44.591037171 +0200
> > @@ -740,6 +740,8 @@
> >   }
> >  }
> >  
> > +chdir($ENV{HOME}) || chdir('/');
> > +
> >  ################################### ENDE 
> > ####################################
> 
> Unfortunately, this does not fix the problem. :(
> You also need to chdir() before the exit 1 in the fatalError sub.

Rene,
for your convenience I'm attaching a diff that implements madduck's
proposal.

Cheers,
gregor
 
-- 
 .''`.   http://info.comodo.priv.at/ -- GPG key IDs: 0x8649AA06, 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: Joe Cocker: With A Little Help From My Friends
diff -u muttprint-0.73/debian/patches/17_leave_tmp_dir.dpatch muttprint-0.73/debian/patches/17_leave_tmp_dir.dpatch
--- muttprint-0.73/debian/patches/17_leave_tmp_dir.dpatch
+++ muttprint-0.73/debian/patches/17_leave_tmp_dir.dpatch
@@ -8,8 +8,8 @@
 
 @DPATCH@
 diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' muttprint-0.73~/muttprint muttprint-0.73/muttprint
---- muttprint-0.73~/muttprint	2008-12-26 01:33:36.000000000 +0100
-+++ muttprint-0.73/muttprint	2010-11-27 19:08:51.000000000 +0100
+--- muttprint-0.73~/muttprint	2010-11-29 00:05:38.000000000 +0100
++++ muttprint-0.73/muttprint	2010-12-15 18:10:35.000000000 +0100
 @@ -740,6 +740,8 @@
  	}
  }
@@ -21,0 +22,8 @@
+@@ -1791,6 +1793,7 @@
+ 			output \*STDERR, $messageString;
+ 		}
+ 	}
++	chdir($ENV{HOME}) || chdir('/');
+ 	exit 1;
+ }
+ 

Attachment: signature.asc
Description: Digital signature

Reply via email to