Commit d05d82b9 authored by Chris Lamb's avatar Chris Lamb 💬

Drop all calls to unlink_on_destroy now that we copy the file. (Closes: #836670)

parent 9f96609a
......@@ -128,7 +128,6 @@ sub normalize {
$tempfile->close;
copy_data($tempfile->filename, $filename)
or die "$filename: unable to overwrite: copy_data: $!";
$tempfile->unlink_on_destroy(0);
return 1;
}
......
......@@ -61,7 +61,6 @@ sub _jar_normalize_manifest {
$tempfile->close;
copy_data($tempfile->filename, $filename)
or die "$filename: unable to overwrite: copy_data: $!";
$tempfile->unlink_on_destroy(0);
}
return $modified;
}
......
......@@ -84,7 +84,6 @@ sub normalize {
$tempfile->close;
copy_data($tempfile->filename, $filename)
or die "$filename: unable to overwrite: copy_data: $!";
$tempfile->unlink_on_destroy(0);
return 1;
}
......
......@@ -67,7 +67,6 @@ sub normalize {
$tempfile->close;
copy_data($tempfile->filename, $filename)
or die "$filename: unable to overwrite: copy_data: $!";
$tempfile->unlink_on_destroy(0);
return 1;
}
print $tempfile $line;
......
......@@ -57,7 +57,6 @@ sub normalize {
$tempfile->close;
copy_data($tempfile->filename, $filename)
or die "$filename: unable to overwrite: copy_data: $!";
$tempfile->unlink_on_destroy(0);
}
return $modified;
......
......@@ -59,7 +59,6 @@ sub normalize {
$tempfile->close;
copy_data($tempfile->filename, $filename)
or die "$filename: unable to overwrite: copy_data: $!";
$tempfile->unlink_on_destroy(0);
}
close $fh;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment