Blame SOURCES/0001-Remove-defined-anachronism.patch

1d3de6
From 1df9c6543540b033edb37ead08f02b82b1ef71df Mon Sep 17 00:00:00 2001
1d3de6
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corsepiu@fedoraproject.org>
1d3de6
Date: Mon, 11 Mar 2013 12:51:08 +0100
1d3de6
Subject: [PATCH] Remove 'defined' anachronism
1d3de6
1d3de6
---
1d3de6
 lib/Locale/Po4a/Sgml.pm | 2 +-
1d3de6
 1 file changed, 1 insertion(+), 1 deletion(-)
1d3de6
1d3de6
diff --git a/lib/Locale/Po4a/Sgml.pm b/lib/Locale/Po4a/Sgml.pm
1d3de6
index 3e9f2a6..a8165b9 100644
1d3de6
--- a/lib/Locale/Po4a/Sgml.pm
1d3de6
+++ b/lib/Locale/Po4a/Sgml.pm
1d3de6
@@ -366,7 +366,7 @@ sub parse_file {
1d3de6
     #   - protect entities from expansion (ie "&release;")
1d3de6
     my $origfile="";
1d3de6
     my $i=0;
1d3de6
-    while (defined(@{$self->{TT}{doc_in}}) && $i < @{$self->{TT}{doc_in}}) {
1d3de6
+    while (@{$self->{TT}{doc_in}} && $i < @{$self->{TT}{doc_in}}) {
1d3de6
         $origfile .= ${$self->{TT}{doc_in}}[$i];
1d3de6
         $i+=2;
1d3de6
     }
1d3de6
-- 
1d3de6
1.8.1.4
1d3de6