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

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