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

ruby-changes:41869

From: hsbt <ko1@a...>
Date: Fri, 26 Feb 2016 10:57:19 +0900 (JST)
Subject: [ruby-changes:41869] hsbt:r53943 (trunk): * lib/irb.rb: avoid to needless truncation when using back_trace_limit option.

hsbt	2016-02-26 10:57:58 +0900 (Fri, 26 Feb 2016)

  New Revision: 53943

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53943

  Log:
    * lib/irb.rb: avoid to needless truncation when using back_trace_limit option.
      [fix GH-1205][ruby-core:72773][Bug #11969]

  Modified files:
    trunk/ChangeLog
    trunk/lib/irb.rb
Index: lib/irb.rb
===================================================================
--- lib/irb.rb	(revision 53942)
+++ lib/irb.rb	(revision 53943)
@@ -525,7 +525,7 @@ module IRB https://github.com/ruby/ruby/blob/trunk/lib/irb.rb#L525
             print messages.join("\n"), "\n"
             unless lasts.empty?
               printf "... %d levels...\n", levels if levels > 0
-              print lasts.join("\n")
+              print lasts.join("\n"), "\n"
             end
             print "Maybe IRB bug!\n" if irb_bug
           end
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 53942)
+++ ChangeLog	(revision 53943)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Feb 26 10:52:29 2016  Alex Boyd  <alex@o...>
+
+	* lib/irb.rb: avoid to needless truncation when using back_trace_limit option.
+	  [fix GH-1205][ruby-core:72773][Bug #11969]
+
 Fri Feb 26 08:11:58 2016  Aaron Patterson <tenderlove@r...>
 
 	* gem_prelude.rb: Reduce system calls by activating the `did_you_mean`

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

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