From: Don Armstrong Date: Sat, 8 Mar 2014 06:18:32 +0000 (-0800) Subject: it's tmpnam, not tempnam and fh_tmp, not fh_temp X-Git-Tag: debian/20170521-1~12 X-Git-Url: https://git.donarmstrong.com/?p=perltidy.git;a=commitdiff_plain;h=9ae67d80e3ea9c1176b63328e6e6a72d7e86efb2 it's tmpnam, not tempnam and fh_tmp, not fh_temp --- 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";