[前][次][番号順一覧][スレッド一覧]

ruby-changes:2195

From: ko1@a...
Date: 13 Oct 2007 00:19:58 +0900
Subject: [ruby-changes:2195] matz - Ruby:r13686 (trunk): * lib/rexml/document.rb (REXML::Document::write): leaky

matz	2007-10-13 00:19:28 +0900 (Sat, 13 Oct 2007)

  New Revision: 13686

  Modified files:
    trunk/ChangeLog
    trunk/lib/rexml/document.rb

  Log:
    * lib/rexml/document.rb (REXML::Document::write): leaky
      modification trans -> transitive.  [ruby-dev:32040]

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=13686&r2=13685
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/rexml/document.rb?r1=13686&r2=13685

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 13685)
+++ ChangeLog	(revision 13686)
@@ -1,3 +1,8 @@
+Sat Oct 13 00:17:49 2007  Yukihiro Matsumoto  <matz@r...>
+
+	* lib/rexml/document.rb (REXML::Document::write): leaky
+	  modification trans -> transitive.  [ruby-dev:32040]
+
 Sat Oct 13 00:00:33 2007  Yukihiro Matsumoto  <matz@r...>
 
 	* parse.y: encoding specifier should work if the line matches
Index: lib/rexml/document.rb
===================================================================
--- lib/rexml/document.rb	(revision 13685)
+++ lib/rexml/document.rb	(revision 13686)
@@ -179,7 +179,7 @@
     #   unable to parse proper XML, we have to provide a hack to generate XML
     #   that IE's limited abilities can handle.  This hack inserts a space 
     #   before the /> on empty tags.  Defaults to false
-		def write( output=$stdout, indent=-1, trans=false, ie_hack=false )
+    def write( output=$stdout, indent=-1, transitive=false, ie_hack=false )
       if xml_decl.encoding != "UTF-8" && !output.kind_of?(Output)
         output = Output.new( output, xml_decl.encoding )
       end

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧]