Joey Schulze wrote:
> A fixed package is here:
>
> http://people.debian.org/~joey/NMU/wml/wml_2.0.11ds1-0.2.diff.gz
> http://people.debian.org/~joey/NMU/wml/wml_2.0.11ds1-0.2.dsc
> http://people.debian.org/~joey/NMU/wml/wml_2.0.11ds1-0.2_amd64.changes
> http://people.debian.org/~joey/NMU/wml/wml_2.0.11ds1-0.2_amd64.deb
> http://people.debian.org/~joey/NMU/wml/wml_2.0.11ds1-0.2_amd64.log
> http://people.debian.org/~joey/NMU/wml/wml_2.0.11ds1.orig.tar.gz
I've uploaded the package to unstable with approval of the maintainer.
Here's the NMU diff.
Regards,
Joey
--
The good thing about standards is that there are so many to choose from.
-- Andrew S. Tanenbaum
Please always Cc to me when replying to me on the lists.
diff -u wml-2.0.11ds1/debian/changelog wml-2.0.11ds1/debian/changelog
--- wml-2.0.11ds1/debian/changelog
+++ wml-2.0.11ds1/debian/changelog
@@ -1,3 +1,12 @@
+wml (2.0.11ds1-0.2) unstable; urgency=low
+
+ * Non-maintainer upload
+ * Use the tempdir() function from File::Temp with the automatic cleanup
+ option to remove temporary directories upon exit
+ [wml_backend/p1_ipp/ipp.src] (closes: Bug#471345)
+
+ -- Joey Schulze <[EMAIL PROTECTED]> Sat, 26 Apr 2008 10:37:02 +0200
+
wml (2.0.11ds1-0.1) unstable; urgency=low
* Non-maintainer upload
diff -u wml-2.0.11ds1/wml_backend/p1_ipp/ipp.src
wml-2.0.11ds1/wml_backend/p1_ipp/ipp.src
--- wml-2.0.11ds1/wml_backend/p1_ipp/ipp.src
+++ wml-2.0.11ds1/wml_backend/p1_ipp/ipp.src
@@ -17,7 +17,7 @@
use Getopt::Long 2.13;
use IO::Handle 1.15;
use IO::File 1.06;
-use File::Temp;
+use File::Temp qw/tempdir/;
#
# help functions
@@ -567,7 +567,7 @@
#
$tmpdir = $ENV{'TMPDIR'} || '/tmp';
my $tmpldir = ($ENV{'TMPDIR'} || '/tmp') . '/ipp.XXXXXX';
-$tmpdir = mkdtemp($tmpldir) or die "Unable to create temporary directory:
$!\n";
+$tmpdir = tempdir($tmpldir, CLEANUP => 1) or die "Unable to create temporary
directory: $!\n";
$tmpfile = $tmpdir . "/ipp.$$.tmp";
unlink($tmpfile);
$tmp = new IO::File;