[LyX/master] Fix filterXml4Sax.pl to work under Windows

Thibaut Cuvelier tcuvelier at lyx.org
Tue Oct 13 19:12:09 UTC 2020


commit 0790754ec2f4fd87d03e4a2ba35a7b3d1ef1fc5a
Author: Thibaut Cuvelier <tcuvelier at lyx.org>
Date:   Tue Oct 13 03:20:24 2020 +0200

    Fix filterXml4Sax.pl to work under Windows
---
 development/autotests/filterXml4Sax.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/development/autotests/filterXml4Sax.pl b/development/autotests/filterXml4Sax.pl
index 981def9..100039d 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 = <FI>) {
   chomp($l);
   $l = convert($l);


More information about the lyx-cvs mailing list