File latex2man_tmphandling.dif of Package texlive-specs-n.10058

---
 texmf-dist/scripts/latex2man/latex2man |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

--- texmf-dist/scripts/latex2man/latex2man
+++ texmf-dist/scripts/latex2man/latex2man	2012-03-29 09:35:29.180854334 +0000
@@ -20,6 +20,8 @@ require 5.0004_03;
 
 use Getopt::Std;
 
+use File::Temp qw/tempfile/;
+
 # use strict 'vars';
 
 $CMD=`basename $0`; chop ($CMD);
@@ -29,7 +31,7 @@ sub date2str;
 $VERSION = "1.25";
 $DATE    = date2str ('$Date: 2017/04/13 14:25:56 $' =~ m|(\d+/\d+/\d+)|);
 
-$tmp = "/tmp/$CMD.$$";
+(undef, $tmp) = tempfile;
 
 ##################################################################
 # check option and arguments
openSUSE Build Service is sponsored by