From 0790754ec2f4fd87d03e4a2ba35a7b3d1ef1fc5a Mon Sep 17 00:00:00 2001 From: Thibaut Cuvelier Date: Tue, 13 Oct 2020 03:20:24 +0200 Subject: [PATCH] Fix filterXml4Sax.pl to work under Windows --- development/autotests/filterXml4Sax.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5