From: Thibaut Cuvelier Date: Tue, 13 Oct 2020 01:20:24 +0000 (+0200) Subject: Fix filterXml4Sax.pl to work under Windows X-Git-Tag: lyx-2.4.0dev-acb2ca7b~89 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0790754ec2f4fd87d03e4a2ba35a7b3d1ef1fc5a;p=lyx.git Fix filterXml4Sax.pl to work under Windows --- diff --git a/development/autotests/filterXml4Sax.pl b/development/autotests/filterXml4Sax.pl index 981def9a1e..100039d199 100644 --- a/development/autotests/filterXml4Sax.pl +++ b/development/autotests/filterXml4Sax.pl @@ -10,7 +10,7 @@ die("No xml file specified") if (! defined($ARGV[0])); my $f = $ARGV[0]; die("Bad extension of $f") if ($f !~ /\.xml$/); die("Could not read $f") if (!open(FI, $f)); -my ($fh, $filename) = tempfile("tempXXXX", SUFFIX => '.xml', DIR => '/tmp', UNLINK => 0); +my ($fh, $filename) = tempfile("tempXXXX", SUFFIX => '.xml', UNLINK => 0); while (my $l = ) { chomp($l); $l = convert($l);