[#39222] [Bug #2036] AIX 5L 5.2にて、ruby-1.8.7-p174のビルド時にmake testをするとエラーになった。not ok float 7 -- ./sample/test.rb:1232 — 和弥 寺元 <redmine@...>
Bug #2036: AIX 5L 5.2にて、ruby-1.8.7-p174のビルド時にmake testをするとエラーになった。not ok float 7 -- ./sample/test.rb:1232
チケット #2036 が更新されました。 (by 和弥 寺元)
[#39248] pdeque - Double-Ended Priority Queue — Tanaka Akira <akr@...>
優先順位つきキューとして、このメールにつけてある pdeque.rb
[#39249] [Bug #2060] DLをCからRubyに変換する事を勧めます — Aaron Patterson <redmine@...>
Bug #2060: DLをCからRubyに変換する事を勧めます
なかだです。
2009/9/7 Nobuyoshi Nakada <nobu@ruby-lang.org>:
[#39277] Why doesn't Array#product return Enumerator? — Yusuke ENDOH <mame@...>
遠藤です。
まつもと ゆきひろです
遠藤です。
まつもと ゆきひろです
[#39282] [Bug #2067] bodyが大きいエラーページをopen-uriで取得するとfdがリークしている — takeru sasaki <redmine@...>
チケット #2067 が更新されました。 (by takeru sasaki)
まつもと ゆきひろです
なかだです。
まつもと ゆきひろです
In article <E1MliJq-0000yc-4o@x61.netlab.jp>,
言いだしっぺの佐々木です。
まつもと ゆきひろです
佐々木です。
In article <c507366f0909102211s5ae74f72r82afabdf57ae89@mail.gmail.com>,
[#39301] [Feature #2080] Proc#to_source, Method#to_source — Yuki Sonoda <redmine@...>
Feature #2080: Proc#to_source, Method#to_source
[#39322] [Feature #2093] String#stripの対象は\sか[:space:]か — Yui NARUSE <redmine@...>
Feature #2093: String#stripの対象は\sか[:space:]か
[#39325] makeターゲットrdevを抽象化 — "KISHIMOTO, Makoto" <ksmakoto@...4u.or.jp>
きしもとです
なかだです。
[#39352] [ruby19] Thread 切替えが異常に遅い? — Hidetoshi NAGAI <nagai@...>
永井@知能.九工大です.
なかだです。
永井@知能.九工大です.
ささだです.
永井@知能.九工大です.
なかだです。
[#39361] [Bug:1.9] ("00".."00").to_a => ["0"] — Nobuhiro IMAI <nov@...>
いまいです。
[#39367] Almost endless loop of BigMath::atan(x) when x.abs >= 1 — "Masahiro Kanai (CanI)" <cani.m.61st@...>
金井 仁弘と申します。
豊福です。遅い反応ですが。
豊福です。
金井です。
豊福です。
豊福です。
豊福です。
金井です。
[#39372] [Proposal] メンテナ確認大会のお知らせ — Yugui <yugui@...>
Yuguiです。
WXVndWkbJEIkNSRzJWEhPCVrJCIkaiQsJEgkJiQ0JDYkJCReJDckPyEjJDMkQSRpJEtKVj8uJDck
[#39385] Removing constant-able macros inside of the loop. — "Masahiro Kanai (CanI)" <cani.m.61st@...>
金井 仁弘と申します。
[#39388] Re: [ruby-cvs:32331] Ruby:r25113 (trunk): String#inspect's encoding should be fixed. — "Martin J. Dürst" <duerst@...>
成瀬さん、こんにちは。
こんにちは、なかむら(う)です。
成瀬です。
中村さん、成瀬さん、こんにちは。
MjAwOeW5tDnmnIgyOeaXpTEyOjMxICJNYXJ0aW4gSi4gRMO8cnN0IiA8ZHVlcnN0QGl0LmFveWFt
[#39404] [ANN] Ruby Developer's Meeting 20091013 — Yugui <yugui@...>
Yuguiです。
[ruby-dev:39309] Re: [Bug #2067] bodyが大きいエラーページをopen-uriで取得するとfdがリークしている
In article <c507366f0909102211s5ae74f72r82afabdf57ae89@mail.gmail.com>,
takeru sasaki <sasaki.takeru@gmail.com> writes:
> 下記スクリプトを実行すると1.8(ちょっと古いのですが)では251回目で
> Errno::EMFILEとなってしまいました。
> 例外オブジェクトが持つioがcloseされないようです。
縮めるとこんな感じでしょうか。
tmperr() {} を tmperr() にすると回収されるようになるのが非常
に怪しいです。
% cat z.rb
require 'tempfile'
class Err < StandardError
def initialize(io)
@io = io
end
end
def tmperr() # :nodoc:
tmpf = Tempfile.new('open-uri')
raise Err.new(tmpf)
end
2000.times do |n|
puts "n=#{n}"
begin
tmperr() {}
rescue Err => e
end
p Dir.entries("/proc/self/fd").sort_by {|n| n.to_i }
numio = 0; ObjectSpace.each_object(IO) {|io| numio += 1 }; p [:numio, "*" * numio]
numex = 0; ObjectSpace.each_object(Err) {|io| numex += 1 }; p [:numex, "*" * numex]
GC.start
end
% limit descriptors 20
% ruby-1.8 -v z.rb
ruby 1.8.8dev (2009-08-30 revision 24713) [i686-linux]
n=0
[".", "..", "0", "1", "2", "3", "4", "5"]
[:numio, "******"]
[:numex, "*"]
n=1
[".", "..", "0", "1", "2", "3", "4", "5", "6"]
[:numio, "*****"]
[:numex, "**"]
n=2
[".", "..", "0", "1", "2", "3", "4", "5", "6", "7"]
[:numio, "******"]
[:numex, "***"]
n=3
[".", "..", "0", "1", "2", "3", "4", "5", "6", "7", "8"]
[:numio, "*******"]
[:numex, "****"]
n=4
[".", "..", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
[:numio, "********"]
[:numex, "*****"]
n=5
[".", "..", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10"]
[:numio, "*********"]
[:numex, "******"]
n=6
[".", "..", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11"]
[:numio, "**********"]
[:numex, "*******"]
n=7
[".", "..", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"]
[:numio, "***********"]
[:numex, "********"]
n=8
[".", "..", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13"]
[:numio, "************"]
[:numex, "*********"]
n=9
[".", "..", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14"]
[:numio, "*************"]
[:numex, "**********"]
n=10
[".", "..", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15"]
[:numio, "**************"]
[:numex, "***********"]
n=11
[".", "..", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16"]
[:numio, "***************"]
[:numex, "************"]
n=12
[".", "..", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17"]
[:numio, "****************"]
[:numex, "*************"]
n=13
[".", "..", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18"]
[:numio, "*****************"]
[:numex, "**************"]
n=14
[".", "..", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19"]
[:numio, "******************"]
[:numex, "***************"]
n=15
z.rb:20:in `open': Too many open files - /proc/self/fd (Errno::EMFILE)
from z.rb:20:in `entries'
from z.rb:20
from z.rb:14:in `times'
from z.rb:14
--
[田中 哲][たなか あきら][Tanaka Akira]