Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/ruby/files: ruby-1.8.6_p287-entity_expansion_limit.diff
Date: Sat, 29 Nov 2008 13:09:03
Message-Id: E1L6PZG-0005PV-0Q@stork.gentoo.org
1 graaff 08/11/29 13:09:02
2
3 Modified: ruby-1.8.6_p287-entity_expansion_limit.diff
4 Log:
5 Fix bug with the expansion limit patch
6 (Portage version: 2.1.6_rc2/cvs/Linux 2.6.26-gentoo-r2 x86_64)
7
8 Revision Changes Path
9 1.2 dev-lang/ruby/files/ruby-1.8.6_p287-entity_expansion_limit.diff
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/files/ruby-1.8.6_p287-entity_expansion_limit.diff?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/files/ruby-1.8.6_p287-entity_expansion_limit.diff?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/files/ruby-1.8.6_p287-entity_expansion_limit.diff?r1=1.1&r2=1.2
14
15 Index: ruby-1.8.6_p287-entity_expansion_limit.diff
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-lang/ruby/files/ruby-1.8.6_p287-entity_expansion_limit.diff,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- ruby-1.8.6_p287-entity_expansion_limit.diff 29 Aug 2008 06:25:35 -0000 1.1
22 +++ ruby-1.8.6_p287-entity_expansion_limit.diff 29 Nov 2008 13:09:01 -0000 1.2
23 @@ -50,7 +50,7 @@
24 # all entities -- both %ent; and &ent; entities. This differs from
25 # +value()+ in that +value+ only replaces %ent; entities.
26 def unnormalized
27 -+ document.record_entity_expansion
28 ++ document.record_entity_expansion unless document.nil?
29 v = value()
30 return nil if v.nil?
31 @unnormalized = Text::unnormalize(v, parent)