summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2008-11-29 13:09:01 +0000
committerHans de Graaff <graaff@gentoo.org>2008-11-29 13:09:01 +0000
commit15a51fb121110795e5a051f06091b3f04e2b1259 (patch)
tree72df874b1bef8774a488eb29a3cfc4528ab064d1 /dev-lang/ruby/files/ruby-1.8.6_p287-entity_expansion_limit.diff
parentamd64 stable wrt bug #248854. (diff)
downloadgentoo-2-15a51fb121110795e5a051f06091b3f04e2b1259.tar.gz
gentoo-2-15a51fb121110795e5a051f06091b3f04e2b1259.tar.bz2
gentoo-2-15a51fb121110795e5a051f06091b3f04e2b1259.zip
Fix bug with the expansion limit patch
(Portage version: 2.1.6_rc2/cvs/Linux 2.6.26-gentoo-r2 x86_64)
Diffstat (limited to 'dev-lang/ruby/files/ruby-1.8.6_p287-entity_expansion_limit.diff')
-rw-r--r--dev-lang/ruby/files/ruby-1.8.6_p287-entity_expansion_limit.diff2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-lang/ruby/files/ruby-1.8.6_p287-entity_expansion_limit.diff b/dev-lang/ruby/files/ruby-1.8.6_p287-entity_expansion_limit.diff
index fdd0112d5b44..a82790341505 100644
--- a/dev-lang/ruby/files/ruby-1.8.6_p287-entity_expansion_limit.diff
+++ b/dev-lang/ruby/files/ruby-1.8.6_p287-entity_expansion_limit.diff
@@ -50,7 +50,7 @@ Index: lib/rexml/entity.rb
# all entities -- both %ent; and &ent; entities. This differs from
# +value()+ in that +value+ only replaces %ent; entities.
def unnormalized
-+ document.record_entity_expansion
++ document.record_entity_expansion unless document.nil?
v = value()
return nil if v.nil?
@unnormalized = Text::unnormalize(v, parent)