[#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:39069] [Bug #1929] str.dup.force_encodingが元のstrに影響を与えることがある

From: Kazuhiro NISHIYAMA <redmine@...>
Date: 2009-08-11 20:07:21 UTC
List: ruby-dev #39069
チケット #1929 が更新されました。 (by Kazuhiro NISHIYAMA)


まだ長いように思いますが、単体で再現できるものができたので送っておきます。

% cat c.rb
#!/usr/bin/env ruby-trunk
# -*- coding: utf-8 -*-
require 'pstore'
require 'cgi'
require 'erb'

def cache_file(c)
  'c.db'
end

params = CGI::parse("category=%E3%81%A6%E3%81%99%E3%81%A8")
categories = params['category']
categorized = {}
$dump_categorized = proc do |file, line|
  $stderr.puts [file, line, categories.map{|e|[e[0].object_id, e[0].encoding]}].inspect
  $stderr.puts [file, line, categorized.map{|e|[e[0].object_id, e[0].encoding]}].inspect
end
$dump_categorized[__FILE__, __LINE__]
categories.each do |c|
  PStore.new(cache_file(c)).transaction do |db|
    categorized[c] = db['category']
    db.abort
  end
end

$dump_categorized[__FILE__, __LINE__]
categorized.keys.each do |c|
  PStore.new(cache_file(c)).transaction do |db|
    db['category'] = {} unless db.root?('category')
    db['category'].update(categorized[c] || {})
  end
end
$dump_categorized[__FILE__, __LINE__]
categories.map{|e|ERB::Util.u(e)}
$dump_categorized[__FILE__, __LINE__]
% ruby-trunk c.rb -v
["c.rb", 18, [[10938200, #<Encoding:UTF-8>]]]
["c.rb", 18, []]
["c.rb", 26, [[10937000, #<Encoding:UTF-8>]]]
["c.rb", 26, [[10937100, #<Encoding:UTF-8>]]]
["c.rb", 33, [[10935120, #<Encoding:UTF-8>]]]
["c.rb", 33, [[10937100, #<Encoding:UTF-8>]]]
["c.rb", 35, [[10932440, #<Encoding:UTF-8>]]]
["c.rb", 35, [[10937100, #<Encoding:ASCII-8BIT>]]]
% ruby-trunk -v
ruby 1.9.2dev (2009-08-07 trunk 24439) [x86_64-linux]
%
----------------------------------------
http://redmine.ruby-lang.org/issues/show/1929

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

In This Thread