[#39052] Fwd: [redmine4ruby-lang:253] [Bug #1914] ruby-1.9.1-p243 failed to build from source on aix 5.3 with gcc 4.2.0 — Yugui <yugui@...>

Redmine管理用プロジェクトに報告されてしまったので転送します。

12 messages 2009/08/09
[#39264] Re: Fwd: [redmine4ruby-lang:253] [Bug #1914] ruby-1.9.1-p243 failed to build from source on aix 5.3 with gcc 4.2.0 — Yutaka Kanemoto <kinpoco@...> 2009/09/08

金本と申します。

[#39107] [Bug #1952] cannot stop with Ctrl+C — Usaku NAKAMURA <redmine@...>

Bug #1952: cannot stop with Ctrl+C

14 messages 2009/08/18

[#39167] [Bug #2000] Change the license to "GPLv2+ or Ruby's original". — Mamoru Tasaka <redmine@...>

Bug #2000: Change the license to "GPLv2+ or Ruby's original".

11 messages 2009/08/26

[#39193] Re: [ruby-cvs:31917] Ruby:r24699 (trunk): * lib/tmpdir.rb (Dir.mktmpdir): removed thread race condition. — Tanaka Akira <akr@...>

In article <200908281827.n7SIRbaX003476@ci.ruby-lang.org>,

16 messages 2009/08/29
[#39194] Re: [ruby-cvs:31917] Ruby:r24699 (trunk): * lib/tmpdir.rb (Dir.mktmpdir): removed thread race condition. — Nobuyoshi Nakada <nobu@...> 2009/08/29

なかだです。

[#39195] Re: [ruby-cvs:31917] Ruby:r24699 (trunk): * lib/tmpdir.rb (Dir.mktmpdir): removed thread race condition. — Tanaka Akira <akr@...> 2009/08/29

In article <4a988633.9553f10a.4496.483e@mx.google.com>,

[#39196] Re: [ruby-cvs:31917] Ruby:r24699 (trunk): * lib/tmpdir.rb (Dir.mktmpdir): removed thread race condition. — Nobuyoshi Nakada <nobu@...> 2009/08/29

なかだです。

[#39197] Re: [ruby-cvs:31917] Ruby:r24699 (trunk): * lib/tmpdir.rb (Dir.mktmpdir): removed thread race condition. — Tanaka Akira <akr@...> 2009/08/29

In article <4a989f76.1602be0a.3de4.1131@mx.google.com>,

[#39198] Re: [ruby-cvs:31917] Ruby:r24699 (trunk): * lib/tmpdir.rb (Dir.mktmpdir): removed thread race condition. — Yukihiro Matsumoto <matz@...> 2009/08/29

まつもと ゆきひろです

[#39206] Re: [ruby-cvs:31917] Ruby:r24699 (trunk): * lib/tmpdir.rb (Dir.mktmpdir): removed thread race condition. — Nobuyoshi Nakada <nobu@...> 2009/08/31

なかだです。

[ruby-dev:39148] [Bug #1969] irb will be stuck with long variable name with completion.rb

From: Yoshimasa Niwa <redmine@...>
Date: 2009-08-20 17:56:16 UTC
List: ruby-dev #39148
Bug #1969: irb will be stuck with long variable name with completion.rb
http://redmine.ruby-lang.org/issues/show/1969

起票者: Yoshimasa Niwa
ステータス: Open, 優先度: Normal
ruby -v: ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin9]

Requiring "irb/completion", we then hit Tab after a long variable name, irb will be stuck.

% irb
irb(main):001:0> require 'irb/completion'
=> true
irb(main):002:0> a.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[Hit Tab key]
(Nothing happen, just eating CPU)
irb(main):002:0> ::A::BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB[Hit Tab key]
(Nothing happen, just eating CPU)

I attached the patches to fix this issue.
This issue seems to be caused by a problem of longest matching of regular expressions.
These patches are based on Haruo Nanki <nanki@dotswitch.net>'s good suggestions.

irbでirb/completionがrequireされているときに、長い変数名、クラス名の後でTabを押すと固まります。
正規表現の最長一致の問題と思われます。
南木さん<nanki@dotswitch.net>の指摘をもとに作成したパッチを添付しますのでご確認ください。


----------------------------------------
http://redmine.ruby-lang.org

In This Thread

Prev Next