From 9ae67d80e3ea9c1176b63328e6e6a72d7e86efb2 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Fri, 7 Mar 2014 22:18:32 -0800 Subject: [PATCH] it's tmpnam, not tempnam and fh_tmp, not fh_temp --- debian/patches/fix_insecure_tmpnam_usage_740670 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/patches/fix_insecure_tmpnam_usage_740670 b/debian/patches/fix_insecure_tmpnam_usage_740670 index 0d3b265..867909f 100644 --- a/debian/patches/fix_insecure_tmpnam_usage_740670 +++ b/debian/patches/fix_insecure_tmpnam_usage_740670 @@ -74,7 +74,7 @@ Last-Update: 2010-03-29 - $tmpfile = Perl::Tidy::make_temporary_filename(); - } - my $fh_tmp = IO::File->new( $tmpfile, 'w' ); -+ my ($fh_temp,$tempfile) = tempfile(); ++ my ($fh_tmp,$tmpfile) = tempfile(); unless ($fh_tmp) { Perl::Tidy::Warn "unable to open temporary file $tmpfile; cannot use pod2html\n"; -- 2.39.2