2017-06-14 11:06:57 +00:00
|
|
|
---
|
2018-05-03 09:16:53 +00:00
|
|
|
texmf-dist/scripts/latex2man/latex2man | 3 ++-
|
|
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
2017-06-14 11:06:57 +00:00
|
|
|
|
|
|
|
--- texmf-dist/scripts/latex2man/latex2man
|
2018-05-03 09:16:53 +00:00
|
|
|
+++ texmf-dist/scripts/latex2man/latex2man 2018-05-03 08:59:29.295058028 +0000
|
|
|
|
@@ -20,6 +20,7 @@
|
|
|
|
require 5.0004_03;
|
2017-06-14 11:06:57 +00:00
|
|
|
|
|
|
|
use Getopt::Std;
|
|
|
|
+use File::Temp qw/tempfile/;
|
2018-05-03 09:16:53 +00:00
|
|
|
no warnings 'once';
|
2017-06-14 11:06:57 +00:00
|
|
|
# use strict 'vars';
|
|
|
|
|
2018-05-03 09:16:53 +00:00
|
|
|
@@ -30,7 +31,7 @@ sub date2str;
|
|
|
|
$VERSION = "1.26";
|
|
|
|
$DATE = date2str ('$Date: 2017/10/06 17:19:31 $' =~ m|(\d+/\d+/\d+)|);
|
2017-06-14 11:06:57 +00:00
|
|
|
|
|
|
|
-$tmp = "/tmp/$CMD.$$";
|
|
|
|
+(undef, $tmp) = tempfile;
|
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# check option and arguments
|