Project

General

Profile

Activity

From 01/21/2011 to 01/27/2011

01/27/2011

10:48 PM Bug #4331 (Closed): FileUtils::DryRun.copy_entry makes changes.
=begin
$ ls src/
README
$ ls dst/
$ ruby -e "require 'fileutils; FileUtils::DryRun.copy_entry 'src/', 'dst/'"
$ ls dst/
README
$ ruby -v
ruby 1.9.2p136 (2010-12-25 revision 30365) [i686-linux]

I expected to make no ch...
aereal (Hanae Aoki)
09:37 PM Bug #4330 (Closed): IO.popen case Segmentation Fault if take a long string.
=begin
This issue was solved with changeset r30670.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* win32/win32.c (rb_w32_aspawn): get rid of too huge a...
kosaki (Motohiro KOSAKI)
08:38 PM Bug #4330 (Closed): IO.popen case Segmentation Fault if take a long string.
=begin
following script cause segmentation fault.

ruby -e 'IO.popen(["c:/ruby/bin/ruby.exe "+"a
"*10_000_000, "hoge"])'
=end
kosaki (Motohiro KOSAKI)
08:52 PM Bug #4319 (Closed): StringValueCStr() should terminate
=begin

=end
nobu (Nobuyoshi Nakada)
06:37 PM Bug #4313 (Closed): File.identical? cause Segmentation Fault if take a long string.
=begin
This issue was solved with changeset r30667.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* file.c (w32_io_info): get rid of too huge alloca().
...
kosaki (Motohiro KOSAKI)
06:27 PM Bug #4316 (Closed): Dir.new cause Segmentation Fault if take a long string.
=begin
This issue was solved with changeset r30666.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* win32/win32.c (wstati64): get rid of too huge alloca...
kosaki (Motohiro KOSAKI)
05:37 PM Revision 58da04b3 (git): * re.c (rb_reg_raise): add GC guard to prevent intermediate
variable from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
05:36 PM Revision 1e60af4d (git): * hash.c (rb_hash_fetch_m): add GC guard to prevent intermediate
variable from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
05:33 PM Bug #4314 (Closed): spwn cause Segmantation Fault if take a long string.
=begin
r30661,r30662 and r30663 fixed this issue.
=end
kosaki (Motohiro KOSAKI)
04:36 PM Revision 41bbb319 (git): * test/ruby/test_process.rb (TestProcess#test_too_long_path)
TestProcess#test_too_long_path): Reduced string size from 100MB
to 10MB. 100MB may cause no memory error. It isn't intended.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
04:33 PM Revision 7bae5dd3 (git): * 2011-01-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:33 PM Revision 6c2b2c28 (git): * test/ruby/test_process.rb (TestProcess#test_too_long_path2):
Factored out from test_too_long_path. A test should only do
one test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
03:51 PM Feature #4328 (Closed): export rb_thread_call_with_gvl()
=begin
I think it is general enough to remain supported along
with the rest of the MRI C API, especially since
rb_thread_blocking_region() exists and is supported.

It's useful for interacting with certain C libraries that expe...
normalperson (Eric Wong)
02:30 PM Revision 4a42b101 (git): * st.c (st_foreach): check if unpacked.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:24 PM Revision a152da5f (git): merges a part of revision 5917 in MiniTest's repository into ruby_1_9_2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
02:24 PM Revision b4eba9bb (git): merges revision 6057 in MiniTest's repository into ruby_1_9_2.
--
+ Exit autorun via nested at_exit handler, in case other libs call
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:24 PM Revision 2de2b2ab (git): merges a half of revision 5937 and 5939 in MiniTest's repository into ruby_1_9_2.
--
- Fixed some of the assertion default messages
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:24 PM Revision fb798840 (git): merges a half of revision 5875 in MiniTest's repository into ruby_1_9_2. It corresponds to
r29259 on Ruby's trunk.
--
assert_raises now lets MiniTest::Skip through. (shyouhei)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:14 PM Revision c5b45d25 (git): * misc/ruby-mode.el (ruby-mode-map): remove deprecated binding.
use M-; instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:07 PM Feature #4326: Fiber should respond to call() and []
=begin
Hi,

At Wed, 26 Jan 2011 16:08:52 +0900,
Aaron Patterson wrote in [ruby-core:34861]:
> Fibers are considered to be coroutines. Knuth says
> "Subroutines are special cases of ... coroutines". This
> makes sense to me.

D...
nobu (Nobuyoshi Nakada)
10:45 AM Feature #4326: Fiber should respond to call() and []
=begin
Shouldn't Fiber#[] behave like Thread#[]? What about Continuation#[]?

=end
kstephens (Kurt Stephens)
12:58 PM Revision 5a00a616 (git): * bignum.c (rb_str_to_inum): get rid of too huge alloca().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
12:46 PM Revision ac017891 (git): * object.c (rb_str_to_dbl): rewrite again. use ALLOCV instead
rb_str_tmp_new().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
12:42 PM Revision 8d397b77 (git): * win32/win32.c: get rid of STRNDUPA(). It's dangerous API.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
12:33 PM Revision 2529d2c3 (git): * win32/win32.c (rb_w32_aspawn): get rid of too huge alloca().
[Bug #4330] [ruby-core:34898]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
11:31 AM Revision f7fb66bd (git): * win32/win32.c (rb_w32_spawn): get rid of too huge alloca().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
10:19 AM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
=begin
Progress: https://github.com/kstephens/ruby/commit/8058894024c9bac07e6e44c91f5984a1e347074f

* Refactored MRI-specifics out of tests.
* Implemented SoftReference heuristics in Ruby *and* C.
* Trivial HardReference class ignor...
kstephens (Kurt Stephens)
09:50 AM Revision ab720532 (git): * win32/win32.c (open_dir_handle): get rid of too huge alloca().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
09:35 AM Revision 18c11392 (git): * file.c (w32_io_info): get rid of too huge alloca().
[Bug #4313] [ruby-core:34830]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
09:21 AM Revision 21931d6a (git): * win32/win32.c (wstati64): get rid of too huge alloca().
[Bug #4316] [ruby-core:34834]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
08:47 AM Bug #4315 (Closed): Process.spawn cause Segmentation Fault if take a long string. (windows)
=begin
This issue was solved with changeset r30662.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* process.c (proc_exec_v, rb_proc_exec_n, rb_proc_exec...
nobu (Nobuyoshi Nakada)
08:47 AM Bug #4312 (Closed): exec cause Segmentation fault if passing very long string
=begin
This issue was solved with changeset r30662.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* process.c (proc_exec_v, rb_proc_exec_n, rb_proc_exec...
nobu (Nobuyoshi Nakada)
06:21 AM Revision 11c5daa6 (git): * win32/win32.c (rb_w32_spawn, rb_w32_aspawn): fixed previous commit. sorry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
06:12 AM Revision 98929a2d (git): * win32/win32.c (rb_w32_spawn, rb_w32_aspawn): get rid of too huge
alloca(). this is the real fix of [ruby-core:34833].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:46 AM Revision fa57e468 (git): * process.c (ALLOC_ARGV_WITH_STR): fix void pointer arithmetic.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:06 AM Feature #4197: Improvement of the benchmark library
=begin
Hi,

> Koichi said the lib is not his, so I reviewed it.

Thank you.

> I almost accept your patch except following:
>
>> 4291a26b94a63e3066fe
>
> Tests for MRI should use test/unit.

I thought minitest/sp...
Eregon (Benoit Daloze)

01/26/2011

11:52 PM Bug #4325: [ext/openssl] Encoding of subclasses fails when it shouldn't
=begin
The first thought that came into my mind for changing this was to provide consistency. There are several
similar operations that also use rb_is_kind_of instead of checking the class directly, mainly in
ossl_asn1_default_tag, ...
MartinBosslet (Martin Bosslet)
05:18 PM Bug #4325: [ext/openssl] Encoding of subclasses fails when it shouldn't
=begin
It would be good if you show us usecases of subclassing Sequence and Set. Can you?
=end
nahi (Hiroshi Nakamura)
09:46 AM Bug #4325 (Closed): [ext/openssl] Encoding of subclasses fails when it shouldn't
=begin
While skimming through ossl_asn1.c I noticed that my patch for infinite length encoding
causes problems when encoding subclasses of OpenSSL::ASN1::Sequence or OpenSSL::ASN1::Set
with infinite length.

E.g. the following ...
MartinBosslet (Martin Bosslet)
11:41 PM Revision beec203a (git): * process.c (proc_exec_v, rb_proc_exec_n, rb_proc_exec)
(proc_spawn_n, proc_spawn): get rid of too huge alloca().
[ruby-core:34827], [ruby-core:34833]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:32 PM Revision 8489ac41 (git): * include/ruby/ruby.h (ALLOCV): new API for exception-safe
temporary buffer. [ruby-core:34844]
* string.c (rb_alloc_tmp_buffer, rb_free_tmp_buffer):
implementation of the API.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:22 PM Revision d6eb8078 (git): * dln_find.c (dln_find_1): use rb_warning and return immediately
if fname is longer than buffer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:07 PM Bug #4321 (Closed): valgrind report "Invalid read" for Object#clone
=begin
This issue was solved with changeset r30659.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* class.c (clone_method): add GC guard to prevent inte...
nagachika (Tomoyuki Chikanaga)
10:37 PM Bug #4322 (Closed): valgrind report error for uncaught throw
=begin
This issue was solved with changeset r30657.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* vm_eval.c (rb_throw_obj): add GC guard to prevent in...
nagachika (Tomoyuki Chikanaga)
10:55 AM Bug #4322: valgrind report error for uncaught throw
=begin
はい --with-valgrind は付けてます。
すみません、書き忘れてましたが optflags=-O3 を付けてビルドした時に発生します(gcc 4.3.3)。

実はテストケースはソースから逆算して作ったので(#4321 も同様)、以下の RB_GC_GUARD 追加で直ることを確認しています。
すぐ修正するつもりだったのですけど前準備に手間取って一晩寝かせてしまいました。

diff --git a/vm_eval.c...
nagachika (Tomoyuki Chikanaga)
10:35 AM Bug #4322: valgrind report error for uncaught throw
=begin
あれ、リビジョン同じだな。configureで--with-valgrindは指定してますよね?
=end
naruse (Yui NARUSE)
10:25 AM Bug #4322: valgrind report error for uncaught throw
=begin
ちょっと古いものだと確かに再現したのですが、r30653 時点で直ってるように見えます
=end
naruse (Yui NARUSE)
06:48 PM Bug #4324: [ext/openssl] Parsing of incorrect ASN.1 values succeeds
=begin
Hi,

2011/1/26 Martin Bosslet <redmine@ruby-lang.org>:
> I read about this bug of OpenSSL this morning: http://rt.openssl.org/Ticket/Display.html?id=2438

Thank you for the information.
The URL seems to require authentifica...
mame (Yusuke Endoh)
05:19 PM Bug #4324 (Closed): [ext/openssl] Parsing of incorrect ASN.1 values succeeds
=begin
Merged at r30656. Thanks.
=end
nahi (Hiroshi Nakamura)
09:35 AM Bug #4324 (Closed): [ext/openssl] Parsing of incorrect ASN.1 values succeeds
=begin
Hi,

I read about this bug of OpenSSL this morning: http://rt.openssl.org/Ticket/Display.html?id=2438
What struck me was the following sentence:

"The ASN1 parser should reject indefinite length primitive encodings as
...
MartinBosslet (Martin Bosslet)
06:35 PM Bug #4323: Proc#hash is Ill-Behaved
=begin
> I'm not so sure I'd expect Proc#hash to be equal in these cases. Of course, I don't feel like
> Procs that simply have the same code and closure should be expected to be eql? either.

Perhaps, but the Rdoc is clear that ...
runpaint (Run Paint Run Run)
04:56 PM Bug #4323: Proc#hash is Ill-Behaved
=begin
I believe your example case, run in IRB, is also flawed. Witness:

~/projects/jruby ➔ irb1.9
>> ->{}
=> #<Proc:0x00000100aba6c0@(irb):1 (lambda)>
>> ->{}
=> #<Proc:0x00000100ab8cf8@(irb):2 (lambda)>
>> ->{}
=> #<P...
headius (Charles Nutter)
04:52 PM Bug #4323: Proc#hash is Ill-Behaved
=begin
I'm not so sure I'd expect Proc#hash to be equal in these cases. Of course, I don't feel like Procs that simply have the same code and closure should be expected to be eql? either.

Each proc has its own scope and its own ref...
headius (Charles Nutter)
06:35 AM Bug #4323 (Closed): Proc#hash is Ill-Behaved
=begin
Proc#hash is not predictable for receivers that are #eql?

irb> ->{}.hash
=> -1250381286238705236
irb> ->{}.hash
=> 2684657672161532106
irb> ->{true}.hash
=> -2939885723276364833
irb> ...
runpaint (Run Paint Run Run)
05:19 PM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
=begin
On Tue, Jan 25, 2011 at 6:52 PM, Kurt Stephens <redmine@ruby-lang.org> wrote:
> * Each SoftReference#_mri_gc_left and SoftRefernce#_mri_gc_ttl are set to some arbitrary value: SoftReference._mri_gc_ttl (default = 10).
> * If S...
headius (Charles Nutter)
09:52 AM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
=begin
> 01/25/2011 04:40 PM - Charles Nutter
> Can you provide a short description of the complete "soft" heuristic
> as of this commit? Even on JVM, it's unspecified, but each JVM does
> spell out what constitutes a "soft" referenc...
kstephens (Kurt Stephens)
04:08 PM Feature #4326 (Closed): Fiber should respond to call() and []
=begin
Fibers are considered to be coroutines. Knuth says "Subroutines are special cases of ... coroutines". This makes sense to me.

Method, Proc, and lambda respond to `call` and `[]`. If Fiber also responded to `call` and `[]...
tenderlovemaking (Aaron Patterson)
02:54 PM Bug #4318: Legacy bug in net/imap in Ruby 1.9.x
=begin
Hi,

> The change is "str.length.to_s" -> "str.bytesize.to_s".

This bug has been fixed in r30543.

http://redmine.ruby-lang.org/repositories/revision/ruby-19?rev=30543

Could you check it?
=end
shugo (Shugo Maeda)
09:19 AM Bug #4318 (Assigned): Legacy bug in net/imap in Ruby 1.9.x
=begin

=end
naruse (Yui NARUSE)
01:59 PM Revision c8e5ba0e (git): * class.c (clone_method): add GC guard to prevent intermediate
variable from GC. [Bug #4321] [ruby-dev:43107]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:45 PM Revision de4c25a0 (git): * template/id.h.tmpl: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:34 PM Revision ab083dc6 (git): * vm_eval.c (rb_throw_obj): add GC guard to prevent intermediate
variable from GC. [Bug #4322] [ruby-dev:43108]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:13 PM Bug #4304: Win32上でfiber大量生成テストが失敗
=begin
「メジャーな環境」というか、生成できるスレッド/ファイバの数は必然的に個々の環境で変化するに決まってますよね。
そして、実際に小崎さんのところでは問題があるということなので、おそらくテスト自体に問題があるのだろうと思います。

ただ、このテストが何をテストしてるのかは全くの謎なので、どのように「どうにか」すればいいのかはテストの中身が知ってる人に考えてもらいたいと思います。

なお、私が決めていいなら「意味分からんからテスト自体消せ」...
usa (Usaku NAKAMURA)
11:48 AM Bug #4304: Win32上でfiber大量生成テストが失敗
=begin
ええと、すいません確認させてください。

「個人的にはこのテストはどうにかしろとは思っています」の意図は生成できるファイバの個数
(生成できるスタックの個数)は環境依存に決まってるんだから、メジャーな環境の制限チェックするなり
少なめの生成数にするなりしたほうがよい。という事だと思ってよいのでしょうか。
=end
kosaki (Motohiro KOSAKI)
11:11 AM Bug #4304 (Assigned): Win32上でfiber大量生成テストが失敗
=begin
環境依存ですよね。手元では出ません。
とはいえ、個人的にはこのテストはどうにかしろとは思っています。
=end
usa (Usaku NAKAMURA)
11:38 AM Bug #4311: ruby setup.sb fails to install ruby gems
=begin

=end
sorah (Sorah Fukumori)
10:47 AM Bug #4292 (Closed): Type of rdoc in string.c
=begin
This issue was solved with changeset r30654.
Andrei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* string.c (=~): documentation fix; the return value is ...
naruse (Yui NARUSE)
09:53 AM Feature #4197: Improvement of the benchmark library
=begin
Koichi said the lib is not his, so I reviewed it.

I almost accept your patch except following:

> 4291a26b94a63e3066fe

Tests for MRI should use test/unit.
See also test files in test directory.

> f20763674b73...
naruse (Yui NARUSE)
08:17 AM Revision 0522ffd5 (git): * ext/openssl/ossl_asn1.c (ossl_asn1_decode0): OpenSSL::ASN1.decode
should reject indefinite length primitive encodings as that is
illegal. Patch by Martin Bosslet. See #4324.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Hiroshi Nakamura
03:04 AM Bug #4313: File.identical? cause Segmentation Fault if take a long string.
=begin
Bug does not does not seem to be present in ruby 1.8.7 or 1.9.2-p0 i386 Linux
=end
jhkelly05 (James Kelly)
01:38 AM Revision 12893215 (git): * 2011-01-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:38 AM Revision 8aa03af7 (git): * string.c (=~): documentation fix; the return value is nil when
it doesn't match. patched by Andrei Kulakov [ruby-core:34562]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)

01/25/2011

11:18 PM Bug #4322 (Closed): valgrind report error for uncaught throw
=begin
以下のようなスクリプトを valgrind を使って実行するとエラーが報告されます。

## script
GC.stress = true
throw :tag

## message
==1141== Conditional jump or move depends on uninitialised value(s)
==1141== at 0x40276EB: strlen (mc_replace_strmem...
nagachika (Tomoyuki Chikanaga)
11:11 PM Bug #4321 (Closed): valgrind report "Invalid read" for Object#clone
=begin
以下のようなスクリプトを valgrind を使って実行すると Invalid read of size 4 のようなエラーが報告されます。
optflags=-O3 を指定してビルドした時に発生します。

## script
obj = Object.new
def obj.meth
end

GC.stress = true
obj.clone

## message
==22864== Invalid...
nagachika (Tomoyuki Chikanaga)
10:31 PM Bug #4320 (Closed): Bus Error in digest/sha2 on sparc
=begin
Most likely this is caused due to misaligned memory. Any comment is greatly appreciated.

This bug can reproduce at Ruby 1.8, too.

ruby -e "require 'digest/sha2'; d= Digest::SHA256.new; ['a' * 97, 'a' * 97].each {|i| d....
Meik (Meik Nienaber)
10:05 PM Feature #4197: Improvement of the benchmark library
=begin
This eases review: https://github.com/eregon/ruby/compare/trunk...benchmark

Konstantin

On Jan 25, 2011, at 13:14 , Benoit Daloze wrote:

> Issue #4197 has been updated by Benoit Daloze.
>
>
> Hi,
>
> Any update on...
rkh (Konstantin Haase)
09:14 PM Feature #4197: Improvement of the benchmark library
=begin
Hi,

Any update on this ?

Could you have a look, Koichi ?

(Or anyone, I welcome comments)
=end
Eregon (Benoit Daloze)
04:40 PM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
=begin
On Mon, Jan 24, 2011 at 11:44 PM, Kurt Stephens <redmine@ruby-lang.org> wrote:
> * Support for multiple Reference subclass instance caches.
> * Working WeakReference, SoftReference and ReferenceQueue in ext/reference/reference...
headius (Charles Nutter)
02:43 PM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
=begin
Progress: https://github.com/kstephens/ruby/commit/6f3f2a538455187d67ef504cfa266cf5789ca099

* Support for multiple Reference subclass instance caches.
* Working WeakReference, SoftReference and ReferenceQueue in ext/refere...
kstephens (Kurt Stephens)
11:14 AM Feature #4264: General type coercion protocol for Ruby
=begin
On Wed, Jan 19, 2011 at 15:53, Charles Oliver Nutter
<headius@headius.com> wrote:
> They're not bad, but casting to me means something altogether
> different: treating a an object as a different type, while still
> referencin...
meta (mathew murphy)
08:44 AM Bug #4314: spwn cause Segmantation Fault if take a long string.
=begin
Hi,

At Tue, 25 Jan 2011 07:44:51 +0900,
Motohiro KOSAKI wrote in [ruby-core:34842]:
> reproduce way.
>
> ./ruby -ve 'spawn "a"*100_000_000'

I propose new APIs for exception-safe temporary buffer.


diff --git i/inc...
nobu (Nobuyoshi Nakada)
07:44 AM Bug #4314: spwn cause Segmantation Fault if take a long string.
=begin
reproduce way.

./ruby -ve 'spawn "a"*100_000_000'
=end
kosaki (Motohiro KOSAKI)
07:37 AM Feature #4309: [ext/openssl] ASN1 performance enhancement
=begin
>Sadly there is no maintainer for openssl currently, so it seems difficult
>for your patch to be reviewed certainly.

>I reviewed your patch simply, but note that I'm not familiar with openssl.

Thanks for your time!
...
MartinBosslet (Martin Bosslet)
06:57 AM Bug #4319 (Closed): StringValueCStr() should terminate
=begin
StringValueCStr()の結果が、NUL-terminateされていない場合があります。
=end
nobu (Nobuyoshi Nakada)
04:47 AM Bug #4318 (Closed): Legacy bug in net/imap in Ruby 1.9.x
=begin
Emails that get 'appended' to a mailbox are cut-off
at the end. Not always but only in non-multipart mails where the headers

Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

apply to the whol...
tnt (T. N. T.)
12:16 AM Bug #4317 (Closed): File.stat cause Segmentation Fault if take a long string.
=begin
following script will crash immediately.

C:\ruby\trunk\build>\ruby\bin\ruby -ve 'File.stat("a"*100_000_000)'
ruby 1.9.3dev (2011-01-23 trunk 30640) [i386-mswin32_100]
=end
kosaki (Motohiro KOSAKI)
12:13 AM Bug #4316 (Closed): Dir.new cause Segmentation Fault if take a long string.
=begin
C:\ruby\trunk\build>\ruby\bin\ruby -ve 'Dir.new("a"*100_000_000)'
ruby 1.9.3dev (2011-01-23 trunk 30640) [i386-mswin32_100]
=end
kosaki (Motohiro KOSAKI)
12:08 AM Bug #4315 (Closed): Process.spawn cause Segmentation Fault if take a long string. (windows)
=begin
test.rb
-------------------------
spawn '"a"|'*100_000_000
-------------------------


ruby ./test.rb
=end
kosaki (Motohiro KOSAKI)

01/24/2011

11:44 PM Bug #4314 (Closed): spwn cause Segmantation Fault if take a long string.
=begin
ruby 1.9.3dev (2011-01-24 trunk 30642) [x86_64-linux]
-e:1: [BUG] Segmentation fault
ruby 1.9.3dev (2011-01-24 trunk 30642) [x86_64-linux]

-- Control frame information -----------------------------------------------
c:...
kosaki (Motohiro KOSAKI)
11:42 PM Revision a0eeef69 (git): * dln_find.c (dln_find_1): omit too long pathnames.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:28 PM Revision ced2d699 (git): * string.c (rb_str_resize): get rid of out-of-bound access.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:23 PM Bug #4313: File.identical? cause Segmentation Fault if take a long string.
=begin
It maybe windows only. I doubt w32_io_info makes stack overflow.
=end
kosaki (Motohiro KOSAKI)
11:20 PM Bug #4313 (Closed): File.identical? cause Segmentation Fault if take a long string.
=begin
Following script crash immediately, But error log doesn't display at all.

---------------------------------------------------------------------
ruby -ve 'p File.identical?("a"*100_000_000, "a")'

ruby 1.9.3dev (2011-0...
kosaki (Motohiro KOSAKI)
11:16 PM Feature #4309: [ext/openssl] ASN1 performance enhancement
=begin
Hi,

2011/1/24 Martin Bosslet <redmine@ruby-lang.org>:
> recently I noticed that the method
>
> static int ossl_asn1_default_tag(VALUE obj)

Sadly there is no maintainer for openssl currently, so it seems difficult
for yo...
mame (Yusuke Endoh)
10:26 AM Feature #4309: [ext/openssl] ASN1 performance enhancement
=begin
Added tests that further assert behavior of OpenSSL::ASN1::default_tag/default_tag_class_of. Attachment replaces the first one.
=end
MartinBosslet (Martin Bosslet)
09:42 AM Feature #4309 (Closed): [ext/openssl] ASN1 performance enhancement
=begin
Hi all,

recently I noticed that the method

static int ossl_asn1_default_tag(VALUE obj)

(in ossl_asn1.c) iterates through an internal array each time a default tag is to be looked up resulting in O(n) runtime
pe...
MartinBosslet (Martin Bosslet)
10:50 PM Revision 9a4a8673 (git): * test/ruby/test_thread.rb: remove unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:50 PM Revision fa6f4336 (git): * test/ruby/test_thread.rb (TestThread#test_condvar_nolock_2): get rid of method redefined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:50 PM Revision ff4085d6 (git): move under correct class
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:00 PM Revision 7a6113d6 (git): * string.c (rb_string_value_cstr): rb_str_modify can change
RSTRING_PTR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:47 PM Bug #4312: exec cause Segmentation fault if passing very long string
=begin
Because rb_proc_exec() are using alloca and it can cause stack overflow. It shouldn't.
=end
kosaki (Motohiro KOSAKI)
09:45 PM Bug #4312 (Closed): exec cause Segmentation fault if passing very long string
=begin
% ./ruby -ve 'exec "a"*100_000_000'

ruby 1.9.3dev (2011-01-24 trunk 30642) [x86_64-linux]
-e:1: [BUG] Segmentation fault
ruby 1.9.3dev (2011-01-24 trunk 30642) [x86_64-linux]

-- Control frame information -----------...
kosaki (Motohiro KOSAKI)
09:12 PM Bug #4308: Wrong Bignum calculation in some case.
=begin
#!/usr/bin/env ruby

class Array
def sum
reduce(:+)
end

def var
empty? ? 0.0 : (map {|x| x ** 2}.sum * size - sum ** 2).fdiv(size ** 2)
end
end

# All of these should clearly return 0.

...
nobu (Nobuyoshi Nakada)
09:58 AM Bug #4308 (Rejected): Wrong Bignum calculation in some case.
=begin
It seems from floating point's accuracy.
In line 9, it uses to_f and the value exceeds its limit.
=end
naruse (Yui NARUSE)
06:59 AM Bug #4308 (Rejected): Wrong Bignum calculation in some case.
=begin
I tried to calculate variance of an array but calculation returns wrong result
when numbers are big.The problem also happens in 1.8.7-p330.

I attached a file that recreates The problem.
=end
shouichi (Shouichi Kamiya)
09:07 PM Bug #4310 (Closed): String#% cause Segmentation fault on Windows
=begin
This issue was solved with changeset r30641.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* error.c (rb_invalid_str): prevent intermediate variabl...
nobu (Nobuyoshi Nakada)
02:11 PM Bug #4310: String#% cause Segmentation fault on Windows
=begin

=end
yugui (Yuki Sonoda)
12:06 PM Bug #4310 (Closed): String#% cause Segmentation fault on Windows
=begin
String#% cause Segmentation fault on Windows with trunk version in case of long string.

C:\work>ruby -ve 'p "%f"%("a"*10000000)'
ruby 1.9.3dev (2011-01-23 trunk 30640) [i386-mswin32_90]
-e:1: [BUG] Segmentation fault
r...
phasis68 (Heesob Park)
06:25 PM Revision 68823fde (git): * test/ruby/test_thread.rb: Added various ConditionVariable tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
06:23 PM Revision e9d8fd9b (git): * 2011-01-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:23 PM Revision cab9751e (git): * object.c (rb_str_to_dbl): Fix again. use rb_str_tmp_new()
instead ALLOC_N.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
03:39 PM Bug #4311: ruby setup.sb fails to install ruby gems
=begin
On Jan 23, 2011, at 19:56, Kent Paul Dolan <redmine@ruby-lang.org> wrote:

> After installing Ruby and downloading and unpacking
> Ruby Gems, I changed to the rubygems-1.4.2 directory
> (since no guidance had been given in th...
drbrain (Eric Hodel)
12:55 PM Bug #4311 (Closed): ruby setup.sb fails to install ruby gems
=begin
Ruby maintainers,

I don't know if this is a bug, or just user
incomprehension, but anyway...

After installing Ruby and downloading and unpacking
Ruby Gems, I changed to the rubygems-1.4.2 directory
(since no guida...
xanthian@well.com (Kent Paul Dolan)
12:51 PM Revision c11a4d8f (git): * vm_insnhelper.h: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:30 PM Revision 2ec31553 (git): * object.c (rb_str_to_dbl): use ALLOC_N instead ALLOCA_N because
ALLOC_N may cause stack overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
12:04 PM Revision 76789bbb (git): * 2011-01-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:04 PM Revision 97b8e499 (git): * error.c (rb_invalid_str): prevent intermediate variable from GC.
[ruby-core:34820]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:09 AM Bug #4298: Duration of calling String#[] with the same index is strangely related to string length.
=begin
Thanks for the update. We will look into a cache in JRuby...
=end
enebo (Thomas Enebo)
10:09 AM Bug #4298: Duration of calling String#[] with the same index is strangely related to string length.
=begin
Hi,

In message "Re: [ruby-core:34814] [Ruby 1.9-Bug#4298] Duration of calling String#[] with the same index is strangely related to string length."
on Mon, 24 Jan 2011 09:51:14 +0900, Thomas Enebo <redmine@ruby-lang.org> ...
matz (Yukihiro Matsumoto)
10:06 AM Bug #4298: Duration of calling String#[] with the same index is strangely related to string length.
=begin
2011/1/24 Thomas Enebo <redmine@ruby-lang.org>:
> Marcin and I were wondering the other day why character length is not cached in the string.  It seems whenever code range has to be updated str length cache could also be updated...
naruse (Yui NARUSE)
09:51 AM Bug #4298: Duration of calling String#[] with the same index is strangely related to string length.
=begin
Marcin and I were wondering the other day why character length is not cached in the string. It seems whenever code range has to be updated str length cache could also be updated with little extra cost. Is there a thread that ex...
enebo (Thomas Enebo)
09:19 AM Bug #4298: Duration of calling String#[] with the same index is strangely related to string length.
=begin
JRuby does need a similar fix. I filed http://jira.codehaus.org/browse/JRUBY-5411 to cover it.
=end
headius (Charles Nutter)
07:38 AM Bug #4298: Duration of calling String#[] with the same index is strangely related to string length.
=begin
I think it's worth pointing out that Nobu's fix does not prevent String#[] from needing to do a character scan to reach the nth character, but it does fix the issue of always scanning all characters.

I'll check if JRuby need...
headius (Charles Nutter)
08:02 AM Bug #4307: include fails after undef_method
=begin
So it was a misunderstanding of #undef_method that led me to not expect the
actual behaviour. Thanks for the clarification.

I read the documentation and understood the difference between undef_method and
remove_method, b...
adrianomitre (Adriano Mitre)
05:10 AM Bug #4307: include fails after undef_method
=begin


On 1/23/2011 2:14 PM, Adriano Mitre wrote:
> After using #undef_method on a method "inherited" from a mixin, reincluding the mixin should redefine it, but that is not what happens.
>

This seems like expected behaviour to...
lsegal (Loren Segal)
04:14 AM Bug #4307 (Rejected): include fails after undef_method
=begin
After using #undef_method on a method "inherited" from a mixin, reincluding the mixin should redefine it, but that is not what happens.

Please take a look at this short IRB transcript (source attached):

>> module Foo; ...
adrianomitre (Adriano Mitre)
06:10 AM Bug #4301: Off-by-one line number in Psych parse error
=begin
FYI, 1.8/syck parses the yaml shown here, but libyaml (and SnakeYAML) do not (correctly). Ran into it because it's in a file that ships with RedCar:

https://redcar.lighthouseapp.com/projects/25090/tickets/464-redcar-ships-a-...
headius (Charles Nutter)

01/23/2011

02:03 PM Revision b9c0b503 (git): * test/io/console/test_io_console.rb: Don't run test if the system
don't support io/console.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
01:20 PM Revision 99ef8670 (git): * test/fiddle/test_fiddle.rb: Don't run test if the system don't support
fiddle.
* test/fiddle/test_function.rb: ditto.
* test/fiddle/test_closure.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
09:34 AM Bug #4306 (Rejected): psych makes a lot of test failure on Win32 build
=begin
I'm sorry. Yes, rebuild and retest work perfectly.
Therefore I'll close this ticket.

Thanks.
=end
kosaki (Motohiro KOSAKI)
07:52 AM Bug #4306: psych makes a lot of test failure on Win32 build
=begin
On Sun, Jan 23, 2011 at 01:41:47AM +0900, Motohiro KOSAKI wrote:
> Bug #4306: psych makes a lot of test failure on Win32 build
> http://redmine.ruby-lang.org/issues/show/4306
>
> Author: Motohiro KOSAKI
> Status: Open, Prio...
tenderlovemaking (Aaron Patterson)
01:41 AM Bug #4306 (Rejected): psych makes a lot of test failure on Win32 build
=begin
Latest trunk makes a lot of test failure of 'nmake test-all' on win32 platform.

----------------------------------------------------------------------------
5) Error:
test_mapping(Psych::Nodes::TestEnumerable):
NoMet...
kosaki (Motohiro KOSAKI)
08:27 AM Bug #4298 (Closed): Duration of calling String#[] with the same index is strangely related to string length.
=begin
This issue was solved with changeset r30636.
Radosław, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* string.c (str_nth_len, str_utf8_nth): return the res...
nobu (Nobuyoshi Nakada)
08:06 AM Bug #4298: Duration of calling String#[] with the same index is strangely related to string length.
=begin
Hi,

2011/1/23 Charles Nutter <redmine@ruby-lang.org>:
> Issue #4298 has been updated by Charles Nutter.
>
>
> Perhaps I'm mistaken, but isn't RSTRING_LEN the byte length of the string? Isn't that always guaranteed to be >=...
phasis68 (Heesob Park)
08:00 AM Bug #4298: Duration of calling String#[] with the same index is strangely related to string length.
=begin
Hi,

In message "Re: [ruby-core:34793] [Ruby 1.9-Bug#4298] Duration of calling String#[] with the same index is strangely related to string length."
on Sun, 23 Jan 2011 03:42:20 +0900, Charles Nutter <redmine@ruby-lang.org...
matz (Yukihiro Matsumoto)
03:42 AM Bug #4298: Duration of calling String#[] with the same index is strangely related to string length.
=begin
Perhaps I'm mistaken, but isn't RSTRING_LEN the byte length of the string? Isn't that always guaranteed to be >= str_strlen, which is the character length? And doesn't this patch basically break completely if beg is greater than ...
headius (Charles Nutter)
07:47 AM Bug #4303 (Third Party's Issue): Segmentation fault (using tarantula and hpricot)
=begin

=end
tenderlovemaking (Aaron Patterson)
07:44 AM Bug #4301 (Open): Off-by-one line number in Psych parse error
=begin
Reopening as this seems like a bug in libyaml.
=end
tenderlovemaking (Aaron Patterson)
07:41 AM Bug #4301: Off-by-one line number in Psych parse error
=begin
On Sat, Jan 22, 2011 at 05:23:35PM +0900, Charles Nutter wrote:
> Issue #4301 has been updated by Charles Nutter.
>
>
> Hmm, I think there's more to this, and it could certainly be a bug in libyaml. The following version ha...
tenderlovemaking (Aaron Patterson)
02:39 AM Revision 35dbe505 (git): * vm_exec.h: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:32 AM Revision 6df02103 (git): * template/fake.rb.in (ruby): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:09 AM Bug #4305 (Rejected): Win32 上で bignum の test_too_big_to_s が失敗
=begin
Win32上で test-allすると以下のfailureが出ます

-------------------------------------------------------------------------
22) Failure:
test_too_big_to_s(TestBignum) [C:/ruby/trunk/test/ruby/test_bignum.rb:404]:
[RangeError] excepti...
kosaki (Motohiro KOSAKI)
01:07 AM Bug #4304 (Rejected): Win32上でfiber大量生成テストが失敗
=begin
現在、win32でtest-all すると以下のエラーがでます

--------------------------------------------------------------------------
25) Error:
test_many_fibers_with_threads(TestFiber):
ThreadError: can't create Thread (12)
C:/ruby/trun...
kosaki (Motohiro KOSAKI)

01/22/2011

11:17 PM Revision 734b6151 (git): * string.c (str_nth_len, str_utf8_nth): return the rest length together.
* string.c (rb_str_substr): get rid of measure the length always
to improve performance for huge string. [ruby-core:34648]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:00 PM Revision b0eaf0f6 (git): * string.c (str_nth_len, str_utf8_nth): return the rest length together.
* string.c (rb_str_substr): get rid of measure the length always
to improve performance for huge string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:47 PM Bug #4303: Segmentation fault (using tarantula and hpricot)
=begin
This turned out to be an issue with hpricot 0.8.3. Using an older
version of hpricot solved the problem. Sorry for spamming.
=end
markus (Markus Bengts)
10:43 PM Revision 18e3c52b (git): reverting r30628 since this seems like a bug in libyaml
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
10:11 PM Bug #4298: Duration of calling String#[] with the same index is strangely related to string length.
=begin
This bug(or feature) is due to the repetitive calling of str_strlen() function.

Here is a sentry patch for rb_str_substr() function of string.c

--- string.c 2011-01-22 21:25:38.000000000 +0900
+++ string.c.new 2011-01...
phasis68 (Heesob Park)
05:23 PM Bug #4301: Off-by-one line number in Psych parse error
=begin
Hmm, I think there's more to this, and it could certainly be a bug in libyaml. The following version has the *correct* line number, without your patch:

~ ➔ ruby -rpsych -ryaml -e 'YAML.parse("---\nldquor: ,,")'/Users/headius...
headius (Charles Nutter)
11:27 AM Bug #4301 (Closed): Off-by-one line number in Psych parse error
=begin
This issue was solved with changeset r30628.
Charles, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* ext/psych/parser.c (parse): fixing off-by-one error o...
Anonymous
03:46 PM Revision 8135c466 (git): * 2011-01-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:46 PM Revision fe505c47 (git): * test/test_syslog.rb: Fix to make a lot of test failure if
the platform doesn't support syslog.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
02:42 PM Revision d21bc2f8 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:37 AM Bug #4300 (Closed): Merge keys not working as expected in psych yaml parser
=begin
This issue was solved with changeset r30629.
Matthew, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* ext/psych/lib/psych/visitors/to_ruby.rb: merge keys a...
Anonymous
11:27 AM Bug #4297 (Closed): test_time in ruby/test/psych/test_json_tree.rb makes test failure
=begin
This issue was solved with changeset r30627.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
fixed a bug in the test suite. Thanks Benoit Daloze! ...
Anonymous
02:51 AM Revision 6e5aa631 (git): * ext/psych/lib/psych/visitors/to_ruby.rb: fixing merge key support
when multiple merge keys are specified.
* test/psych/test_merge_keys.rb: tests for multi-merge key support
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
02:34 AM Revision 5b1c06c7 (git): * ext/psych/lib/psych/visitors/to_ruby.rb: merge keys are actually
part of YAML 1.1, so they should be supported. Remove warning and
merge keys to parent. [ruby-core:34679]
* test/psych/test_merge_keys.rb: test for merge keys
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30629 b2dd03c8-39d4-4d8...
tenderlovemaking (Aaron Patterson)
02:23 AM Revision 7b876e65 (git): * ext/psych/parser.c (parse): fixing off-by-one error on line numbers
in parse exceptions. [ruby-core:34690]
* test/psych/test_parser.rb: test for error
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
02:18 AM Revision cab95ab7 (git): fixed a bug in the test suite. Thanks Benoit Daloze! [ruby-core:34641]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
01:26 AM Revision 8dd3a4af (git): * ext/psych/parser.c (parse): add the file name to the exception when
parse errors occur.
* test/psych/test_parser.rb: test for parse error file name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
01:13 AM Revision 0331314d (git): * ext/psych/parser.c (parse): fix assertion error when reusing a
parser after an exception has been raised
* test/psych/test_parser.rb: test for assertion error
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
12:36 AM Bug #4294: IO.popen ['"ping"', 'localhost -n 3'] fails
=begin
Absolutely agree to Usaku: the whole point of the Array variant of IO.popen is to *not* need to quote strings. Quoting in the string form is only needed for the implementation to be able to rip arguments properly apart in light ...
rklemme (Robert Klemme)

01/21/2011

09:05 PM Feature #4288: Allow invoking arbitrary method names with foo."something" syntax
=begin
Em 21-01-2011 07:37, Charles Oliver Nutter escreveu:
> On Fri, Jan 21, 2011 at 2:50 AM, Stephen Sykes<sdsykes@gmail.com> wrote:
>> Yes, agree, if you want interpolation you can use send.
>>
>> But using double quotes leads...
rosenfeld (Rodrigo Rosenfeld Rosas)
06:38 PM Feature #4288: Allow invoking arbitrary method names with foo."something" syntax
=begin
On Fri, Jan 21, 2011 at 2:50 AM, Stephen Sykes <sdsykes@gmail.com> wrote:
> Yes, agree, if you want interpolation you can use send.
>
> But using double quotes leads to an expectation of interpolation does it not?
> So would ...
headius (Charles Nutter)
05:50 PM Feature #4288: Allow invoking arbitrary method names with foo."something" syntax
=begin
> It does, but my concern with it is that (in the same way as
> string-interpolated ."" syntax) it can't be made 100% parse-time. So I
> think the questions to be answered are (in this order):
>
> 1. Do we feel it's useful to...
sdsykes (Stephen Sykes)
06:39 AM Feature #4288: Allow invoking arbitrary method names with foo."something" syntax
=begin
On Wed, Jan 19, 2011 at 6:03 PM, Gary Wright <gwtmp01@mac.com> wrote:
> I probably wasn't clear. I also don't want syntactic sugar for #send
> but instead a way to dynamically name a method without the extra step
> of looking ...
headius (Charles Nutter)
08:59 PM Bug #4303 (Feedback): Segmentation fault (using tarantula and hpricot)
=begin
Could you try again at ruby-trunk without rvm?

See also: http://redmine.ruby-lang.org/wiki/ruby/HowtoReport
=end
sorah (Sorah Fukumori)
08:26 PM Bug #4303 (Third Party's Issue): Segmentation fault (using tarantula and hpricot)
=begin
I get this this segmentation fault when running tarantula tests for a rails application. I don't know if the bug is in ruby or hpricot or something else. I cannot provide a small test case to reproduce it because to me it seems t...
markus (Markus Bengts)
07:11 PM Revision 960720ef (git): * ext/psych/lib/psych/nodes/node.rb: Make Psych::Nodes::Node
enumerable.
* ext/psych/lib/psych/visitors/depth_first.rb: Add a depth-first
visitor to enumerate over a YAML AST in a depth-first fashion
* test/psych/nodes/test_enumerable.rb: test for enumerating nodes
* test/psych/visitors/test_dep...
tenderlovemaking (Aaron Patterson)
03:54 PM Revision 5f710e22 (git): * 2011-01-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:54 PM Revision 741e7788 (git): * vm_core.h: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:41 AM Feature #4257: switch_hitter - an acceleration of date library
=begin
Looks good. The only thing I noticed is that DateTime#amjd is broken:

$ ruby -v -r date -e 'DateTime.new.amjd'
ruby 1.9.3dev (2011-01-21 trunk 30620) [x86_64-openbsd4.8]
-e:1:in `amjd': undefined method `amjd_r' for #<D...
jeremyevans0 (Jeremy Evans)
11:29 AM Bug #4294: IO.popen ['"ping"', 'localhost -n 3'] fails
=begin
Thank you Usaku,

I can take what you've said if that's what Ruby Spec has specified.

I just don't know where to find the respective spec,
the ruby-doc[1] doesn't have such words

[1] http://ruby-doc.org/core/cl...
redstun (red stun)
09:41 AM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
=begin
Ok, I see why Brian's reference queue doesn't have the same restrictions as the JVM's: it isn't triggered by the reference, it's triggered by the finalizer attached to the object.

There's a lot of other stuff here, so I'm no...
headius (Charles Nutter)
08:38 AM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
=begin
I'm not sure I see any real benefit to caching the WeakReference and SoftReference objects themselves. Indeed, it may be undesirable to not be guaranteed you're going to have a fresh reference, since there may be multiple places ...
headius (Charles Nutter)
04:17 AM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
=begin
Charles:

I've been using Brian's ref gem as a starting point for a proposed standard API; for example: WeakReference and SoftReference are subclasses of Reference.

I probably should have done this at the start, but I wi...
kstephens (Kurt Stephens)
09:34 AM Bug #4301 (Third Party's Issue): Off-by-one line number in Psych parse error
=begin
For the following yaml:

# based on "SGML/XML character entity reference" at http://www.bitjungle.com/isoent/
#
---
#DOUBLE LOW-9 QUOTATION MARK
#requires fontenc:T1
ldquor: ,,

Psych produces the following err...
headius (Charles Nutter)
09:27 AM Bug #3889 (Closed): Incorrectly detected i686-w64-mingw32 as x64-mingw
=begin
This issue was solved with changeset r30620.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* configure.in: Fix incorrectly detected x86_64-w64-mingw3...
luislavena (Luis Lavena)
09:15 AM Revision 85f8c01a (git): * configure.in: should not use -Werror=* flags while conftests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:19 AM Bug #4300 (Assigned): Merge keys not working as expected in psych yaml parser
=begin

=end
naruse (Yui NARUSE)
04:10 AM Bug #4300 (Closed): Merge keys not working as expected in psych yaml parser
=begin
Psych doesn't seem to support merge keys ( http://yaml.org/type/merge.html ) with alias/anchor the same way that syck does. I'm not sure if this is intentional or not, but its a pretty useful behavior so I'm filing a bug. Basi...
wr0ngway (Matthew Conway)
12:46 AM Bug #4287: test_europe_lisbon(TestTimeTZ) Failure
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:43085] Re: [Ruby 1.9-Bug#4287] test_europe_lisbon(TestTimeTZ) Failure"
on Fri, 21 Jan 2011 00:28:42 +0900, nagachika <nagachika00@gmail.com> writes:
|
|近永と申します。
|
|対応して頂いてありがとうござい...
matz (Yukihiro Matsumoto)
12:30 AM Bug #4287: test_europe_lisbon(TestTimeTZ) Failure
=begin
近永と申します。

対応して頂いてありがとうございます。

> ところで、Chikanaga がコミット権を取得して自分でチェックインするのがみんなが幸せになれると
> 思うですが、どうでしょうか。
小さな不具合に気がついた時に毎回コミッタのかたの手を煩わすのも気が引けるものがありますので、
もし許可していただけるものならコミット権限を頂きたいと思います。

いかがでしょうか?
=end
nagachika (Tomoyuki Chikanaga)
12:18 AM Revision 89bd00d8 (git): * configure.in: Fix incorrectly detected x86_64-w64-mingw32 due
canonalization of target_os. Bug #3889 [ruby-core:32634]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
luislavena (Luis Lavena)
 

Also available in: Atom