From ae71b4aeab2709d59f11bbb99a6db00d46acca83 Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" <> Date: Tue, 7 Dec 2004 01:13:55 +0000 Subject: Patch for bug 271373: Fix bogus t/008filter.t error on Win32; patch by Marc Schumann , r=glob, a=justdave. --- t/008filter.t | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 't/008filter.t') diff --git a/t/008filter.t b/t/008filter.t index bc8c6aa15..adbbf9e9b 100644 --- a/t/008filter.t +++ b/t/008filter.t @@ -73,8 +73,10 @@ foreach my $path (@Support::Templates::include_paths) { foreach my $file (keys %safe) { my $orig_file = $file; $file =~ s|/|\\|g; - $safe{$file} = $safe{$orig_file}; - delete $safe{$orig_file}; + if ($file ne $orig_file) { + $safe{$file} = $safe{$orig_file}; + delete $safe{$orig_file}; + } } } } -- cgit v1.2.3-24-g4f1b