From: jocuri%softhome.net <> Date: Tue, 7 Dec 2004 01:14:05 +0000 (+0000) Subject: Patch for bug 271373: Fix bogus t/008filter.t error on Win32; patch by Marc Schumann... X-Git-Tag: bugzilla-2.18~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1474f082666fac863317ceea51742cfdee498075;p=thirdparty%2Fbugzilla.git Patch for bug 271373: Fix bogus t/008filter.t error on Win32; patch by Marc Schumann , r=glob, a=justdave. --- diff --git a/t/008filter.t b/t/008filter.t index e3d107bf29..7457d6de10 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}; + } } } }