Project

General

Profile

Activity

From 08/12/2010 to 08/18/2010

08/18/2010

10:07 PM Feature #3711 (Closed): IPAddr must not make DNS lookups via IPSocket.getaddress
=begin
class MustNotCallError < NotImplementedError ; end

class IpAddrNoResolvTestCase < Test::Unit::TestCase
def setup()
class << IPSocket
alias original_getaddress getaddress
def getaddress( host )
# DNS l...
pk (Philipp Kempgen)
09:03 PM Revision bacb45c8 (git): * 2010-08-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:03 PM Revision eba16d74 (git): * vm_insnhelper.c (vm_push_frame): initialize block_iseq. a patch
from Peter Weldon at [ruby-core:31757].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:47 PM Feature #3657: make cleanがファイルを削除しすぎ
=begin
2010年8月8日15:03 Shyouhei Urabe <[email protected]>:
>> 厳しく言えば、個々のファイルが開発から配布のどの段階で必要なのか、といったことが
>> 把握できていないのではないでしょうか。
>
> 思うに、人間様がそんなことをわざわざ把握しないといけない仕組みなのが根本的間違いです。
> 機械的に管理されるべきだと思います。
>
> # 無論、いますぐmake捨てろとまでは言いませんが。...
naruse (Yui NARUSE)
02:53 PM Bug #3706 (Closed): dependency from version.o to version.h
=begin
少なくとも1.9.2ブランチにおいてversion.hだけを更新後 make しても、version.oが再コンパイルされません。恐らくtrunkもそうでしょう。
=end
yugui (Yuki Sonoda)
10:13 AM Revision 354e3760 (git): forget to commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
10:11 AM Revision dbb05925 (git): * array.c (ary_make_shared): revert r29037, it occurs SEGV some situations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
09:42 AM Revision 4023ffa9 (git): * array.c (ary_make_shared), test/ruby/test_array.rb (test_permutation): always return the original array when it is shared. [ruby-dev:42067] [Bug #3708]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
09:04 AM Bug #3674: dRuby サーバプロセスを停止する時に時間がかかることがある
=begin
近永です。

ありがとうございます。
この差分でしばらく試してみます。

2010年8月18日4:13 Masatoshi SEKI <[email protected]>:
> 咳といいます。
>
> On 2010/08/16, at 9:46, Tomoyuki Chikanaga wrote:
>
>> チケット #3674 が更新されました。 (by Tomoyuki Chikanaga)
>>
>>
>...
nagachika (Tomoyuki Chikanaga)
05:54 AM Revision 4ec7c8e6 (git): Bump patchlevel.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
05:42 AM Revision bd8ca9a1 (git): * 2010-08-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:42 AM Revision f7f765ee (git): merges r29023 from trunk into ruby_1_9_2.
--
* regcomp.c: revert r26701; it introduces Bug #3681.
[ruby-core:31677]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:22 AM Bug #3136: reuse of singleton method definition causes SEGV
=begin
 ささだです.

(2010/08/12 18:31), _ wanabe wrote:
> 解決方法 1. はきつそうだったので、2. の方向で試してみました。
> これで本チケットおよび 2502 は発症しなくなりました。
> 複製することによる副作用に思い当たらないので、
> 反対がなければコミットしてしまおうと思っています。

 とくに,他に問題が無いようでしたらお願いします.


----
以下,VM の中身に関する余談...
ko1 (Koichi Sasada)
03:06 AM Feature #3638: VM内データ構造へアクセスするマクロ
=begin
 ささだです.

(2010/08/12 17:14), _ wanabe wrote:
> この例で言えば、CREF にアクセスできない時もある、ということがわかればよいのでしょうか。

 どちらかというと,CREF() は,すべてのケースで cref がとれるべきな気が
するのです.rb_vm_cref() 相当に見えるのです.が,CREF() マクロは,そうで
はないのですよね.

 CREF_IN_... とかのほうがいいんでは...
ko1 (Koichi Sasada)
01:57 AM Bug #3681 (Closed): Character class abbreviations, + repetition notation and group backreferences issue in Regexp
=begin
This issue was solved with changeset r29023.
Andrei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
01:10 AM Bug #3704 (Closed): openssl: exception message wording improvement
=begin
When a new connection is created, the hostname of the target is checked against the name in the certificate. If they do not match, an exception is raised. The wording of the message is not quite correct English.

It currently...
pbetteridge (Paul Betteridge)
12:12 AM Bug #3690: method_missing in a BasicObject's singleton class - infinite recursion segfaults
=begin

=end
rbjl (Jan Lelis)

08/17/2010

07:25 PM Bug #3703 (Closed): ChangeLog too big.
=begin
AirEdge + Emacs + TRAMPでChangeLog弄るのが辛いです...

ChangeLog削りませんか。前に一回やりましたけどその時より何倍も大きくなっています。

zsh % ls -lah trunk/**/ChangeLog*
-rw-r--r-- 1 shyouhei shyouhei 2.5M Aug 16 12:40 trunk/ChangeLog
-rw-r--r-- 1 shyouhei shy...
shyouhei (Shyouhei Urabe)
07:04 PM Bug #3701: Gem.find_files returns empty array
=begin
Hi,

2010/8/17 Evan Phoenix <[email protected]>:
> I just tested this code on trunk and it seems to work fine for me. Do you have any other information about it?

Umm, I can't understand why you couldn't reproduce it.
"m...
mame (Yusuke Endoh)
07:47 AM Bug #3701 (Closed): Gem.find_files returns empty array
=begin
This issue was solved with changeset r29017.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
04:47 AM Bug #3701: Gem.find_files returns empty array
=begin
I just tested this code on trunk and it seems to work fine for me. Do you have any other information about it?

- Evan

On Aug 16, 2010, at 10:21 AM, Yusuke Endoh wrote:

> Bug #3701: Gem.find_files returns empty array
> ...
evanphx (Evan Phoenix)
02:21 AM Bug #3701 (Closed): Gem.find_files returns empty array
=begin
Hi, Nobu and Evan

r28919 seemed to break Gem.find_files:

$ ../local/bin/ruby -e 'p Gem.find_files("**/*.rb").size'
0

When I revert r28919 manually, it seems to work correctly:

$ ../local/bin/ruby -e 'p...
mame (Yusuke Endoh)
06:36 PM Revision 11183a22 (git): lib/webrick/httpresponse.rb: CVE-2010-0541; Fix a potential XSS vulnerabilty. See the CVE report for more information.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@29026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e wyhaines (Kirk Haines)
06:27 PM Revision 6f1649e0 (git): ext/bigdecimal/bigdecimal.c: Backport #2349 [ruby-core:26646]; fix comparisons. Also fix a bunch of bugs that lead to broken-ness and failing tests.
test/bigdecimal/test_bigdecimal.rb: Backport #2349 [ruby-core:26646]; added a test suite.
test/ruby/test_exception.rb: The test suite was breaking ZeroDivisionError, which in turn would break bigdecimal/test_bigdecimal.rb. Made a simple ...
wyhaines (Kirk Haines)
06:03 PM Bug #3681: Character class abbreviations, + repetition notation and group backreferences issue in Regexp
=begin
I can reproduce this, I'll fix it.
=end
naruse (Yui NARUSE)
04:53 PM Revision 21cf543d (git): * 2010-08-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:53 PM Revision ce5827c6 (git): * regcomp.c: revert r26701; it introduces Bug #3681.
[ruby-core:31677]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:28 PM Bug #3683: getgrnam on computer with NIS group (+)?
=begin
show ruby -v.
=end
naruse (Yui NARUSE)
11:06 AM Revision 3eabe19e (git): * test/ruby/test_io.rb (test_threaded_flush): test "hi" is not output
twice.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:16 AM Bug #3194 (Third Party's Issue): Segmentation fault in rb_hash_tbl
=begin

=end
naruse (Yui NARUSE)
03:47 AM Bug #3194: Segmentation fault in rb_hash_tbl
=begin
I have reported this bug to ruby-gnome2 tracker.
https://sourceforge.net/tracker/?func=detail&aid=3046538&group_id=53614&atid=470969
=end
vinc-mai (Vincent Carmona)
07:57 AM Bug #3698 (Closed): Building the readline extension against libedit will create a non-working extension
=begin
This issue was solved with changeset r29019.
Diego E., thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
07:47 AM Bug #3668 (Closed): make check segfault in test_syntax.rb
=begin
This issue was solved with changeset r29018.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
06:29 AM Bug #3668: make check segfault in test_syntax.rb
=begin
Seems to be a buffer overrun caused by changes in string.c (str_make_independent_expand) at r28863.

Patch attached.

Before patch:
>ruby.exe --version
ruby 1.9.3dev (2010-08-16) [i386-mswin32_100]

>ruby test\rub...
pweldon (Peter Weldon)
06:18 AM Revision e44f5bcb (git): * lib/date.rb: Re-revert the part of r28950.
It reverted the part of r28619.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:02 AM Revision 05745ccf (git): * ext/pathname/pathname.c (path_dirname): Pathname#dirname translated
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:22 AM Bug #3674: dRuby サーバプロセスを停止する時に時間がかかることがある
=begin
遠藤です。

2010年8月17日0:00 Masatoshi SEKI <[email protected]>:
> Thread#joinって最後の値を取り出しますよね。たしか例外で終了した
> 場合は例外が再びあがるんじゃなかったけ。

はい。


> begin
> thread.kill.join
> rescue なんとかえらー
> end
>
> みたいにしたほうがよいものですか?

kil...
mame (Yusuke Endoh)

08/16/2010

10:50 PM Revision 1572070f (git): Tue Aug 17 07:50:37 2010 Nobuyoshi Nakada <[email protected]>
* ext/readline/extconf.rb: check functions more.
[ruby-core:31722]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:42 PM Revision 94fc95c8 (git): Tue Aug 17 07:42:43 2010 Nobuyoshi Nakada <[email protected]>
* string.c (str_make_independent_expand): set capacity properly. a
patch from Peter Weldon at [ruby-core:31734]. [ruby-core:31653]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:38 PM Revision 0afddf7b (git): Tue Aug 17 07:38:43 2010 Nobuyoshi Nakada <[email protected]>
* gem_prelude.rb, lib/rubygems.rb (Gem.suffixes): include empty
suffix. [ruby-core:31730]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:27 PM Bug #3700 (Closed): Buffer overrun in util.c: ruby_hdtoa / nrv_alloc
=begin
This issue was solved with changeset r29010.
Peter, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
01:38 PM Bug #3700 (Closed): Buffer overrun in util.c: ruby_hdtoa / nrv_alloc
=begin
util.c (ruby_hdtoa) causes buffer overrun in nrv_alloc when returning copies of constant strings ("0", "NaN", "Infinity"). Detected while running ruby 1.9.3dev (2010-08-15) [i386-mswin32_100], linked with debug crt libs, heap cor...
pweldon (Peter Weldon)
02:28 PM Bug #3699: Bug in rubypython 0.2.11 on ruby 1.9.1
=begin
Thanks.
I have already reported to the forum
http://groups.google.com/group/rubypython
=end
vikram_raina (Vikram Raina)
02:24 PM Bug #3699: Bug in rubypython 0.2.11 on ruby 1.9.1
=begin
I don't know every third party's contact, but as long as I read the
rubypython site you mentioned, you should report to the forum of
rubypython:

http://groups.google.com/group/rubypython

--
Yusuke Endoh <mame@tsg...
mame (Yusuke Endoh)
02:10 PM Bug #3699: Bug in rubypython 0.2.11 on ruby 1.9.1
=begin
Hi,
Can you send me the link where I can report the bug?
At present I have repoted on http://rubypython.rubyforge.org/ under contacts.

Thanks
=end
vikram_raina (Vikram Raina)
01:25 PM Bug #3699: Bug in rubypython 0.2.11 on ruby 1.9.1
=begin
Looks like rubypython's issue.
Please report to rubypython developers.

--
Yusuke Endoh <[email protected]>
=end
mame (Yusuke Endoh)
12:38 PM Bug #3699 (Third Party's Issue): Bug in rubypython 0.2.11 on ruby 1.9.1
=begin

=end
nobu (Nobuyoshi Nakada)
12:26 PM Bug #3699 (Third Party's Issue): Bug in rubypython 0.2.11 on ruby 1.9.1
=begin
I am getting an error while using the rubypython 0.2.11
I am using ruby 1.9.1 and python > 2.6.5

Error:

glibc detected *** ruby: double free or corruption (!prev): 0x09d26958 ***
======= Backtrace: =========
/lib/...
vikram_raina (Vikram Raina)
02:19 PM Revision 84d71259 (git): * NEWS: updated. a patch from Kazuhiro NISHIYAMA in [ruby-dev:42001].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
01:16 PM Revision adff6d44 (git): * ext/pathname/pathname.c (path_basename): unused variable removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:40 PM Revision 16cd13c0 (git): * ext/pathname/pathname.c (path_basename): Pathname#basename translated
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:54 AM Bug #3668 (Assigned): make check segfault in test_syntax.rb
=begin

=end
usa (Usaku NAKAMURA)
11:31 AM Revision 66c25e4c (git): * gc.c (gc_profile_result): Index begins with 1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e authorNari (Narihiro Nakamura)
11:31 AM Revision a5207399 (git): * gc.c (gc_profile_result): use size_t. based on patches from
Tomoaki NISHIYAMA <[email protected]> at
[ruby-dev:42042].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
authorNari (Narihiro Nakamura)
11:31 AM Bug #3698 (Assigned): Building the readline extension against libedit will create a non-working extension
=begin

=end
usa (Usaku NAKAMURA)
11:30 AM Bug #3674: dRuby サーバプロセスを停止する時に時間がかかることがある
=begin
遠藤です。

2010年8月16日9:46 Tomoyuki Chikanaga <[email protected]>:
>> えっと、Rubyのスレッドかなにか問題の報告と考えてよいのでしょうか?
>>
>> ここにThread.passが必要な理由がわかりません。
>> 私がなにかしたほうがよいのでしょうか?
>
> なにを指摘しているのかあいまいな報告ですみませんでした。
>
> Thread#kill のソース(rb...
mame (Yusuke Endoh)
09:46 AM Bug #3674: dRuby サーバプロセスを停止する時に時間がかかることがある
=begin
[ruby-dev:42035] の咳さんの返信にフォローします。

> えっと、Rubyのスレッドかなにか問題の報告と考えてよいのでしょうか?
>
> ここにThread.passが必要な理由がわかりません。
> 私がなにかしたほうがよいのでしょうか?

なにを指摘しているのかあいまいな報告ですみませんでした。

Thread#kill のソース(rb_thread_kill)をみると、特に明示的なスレッドの切り替え...
nagachika (Tomoyuki Chikanaga)
10:23 AM Revision a043fb86 (git): From b80689141673b93e8d12968c3196ec6a2331da45 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <[email protected]>
Date: Mon, 16 Aug 2010 18:55:11 +0900
Subject: [PATCH 2/2] * util.c (ruby_dtoa, ruby_hdtoa): use same representations for
Infinity and NaN. a part of a patch from Peter Weldon at
...
nobu (Nobuyoshi Nakada)
10:22 AM Revision d17ff1a6 (git): From 75db84d6ec7c9ef5fd05e5835ac1004df8ea7e2a Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <[email protected]>
Date: Mon, 16 Aug 2010 18:50:06 +0900
Subject: [PATCH 1/2] * util.c (ruby_hdtoa): fixed buffer overrun. based on a patch
from Peter Weldon at [ruby-core:31725].
---
util.c | ...
nobu (Nobuyoshi Nakada)
10:22 AM Revision 5269e141 (git): * ChangeLog: cleaned.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:46 AM Revision 03226ec1 (git): * common.mk (capi): use -b option for doxygen. It disables stdout
buffering and prevents wrong reordering between stdout and stderr
even when the output of "make" is redirected.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
07:31 AM Revision b08619c8 (git): merge revision(s) 29002:
* lib/webrick/httpresponse.rb (WEBrick::HTTPResponse#set_error):
Fix for possible cross-site scripting (CVE-2010-0541).
Found by Apple, reported by Hideki Yamane.
Patch by Hirokazu Nishio <nishio.hirokazu AT...
shyouhei (Shyouhei Urabe)
03:41 AM Revision b2a69d24 (git): * 2010-08-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:41 AM Revision 77f27c2d (git): * 2010-08-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:41 AM Revision 29b30b66 (git): merge revision(s) 28997:
* lib/webrick/httpresponse.rb (WEBrick::HTTPResponse#set_error):
Fix for possible cross-site scripting (CVE-2010-0541).
Found by Apple, reported by Hideki Yamane.
Patch by Hirokazu Nishio <nishio.hirokazu AT...
shyouhei (Shyouhei Urabe)
03:41 AM Revision 4b46ec34 (git): merge revision(s) 28997:
* lib/webrick/httpresponse.rb (WEBrick::HTTPResponse#set_error):
Fix for possible cross-site scripting (CVE-2010-0541).
Found by Apple, reported by Hideki Yamane.
Patch by Hirokazu Nishio <nishio.hirokazu AT...
shyouhei (Shyouhei Urabe)
03:41 AM Revision 952b8355 (git): merge revision(s) 28997:
* lib/webrick/httpresponse.rb (WEBrick::HTTPResponse#set_error):
Fix for possible cross-site scripting (CVE-2010-0541).
Found by Apple, reported by Hideki Yamane.
Patch by Hirokazu Nishio <nishio.hirokazu AT...
shyouhei (Shyouhei Urabe)
03:41 AM Revision 3c7c8c39 (git): merge revision(s) 28997:
* lib/webrick/httpresponse.rb (WEBrick::HTTPResponse#set_error):
Fix for possible cross-site scripting (CVE-2010-0541).
Found by Apple, reported by Hideki Yamane.
Patch by Hirokazu Nishio <nishio.hirokazu AT...
shyouhei (Shyouhei Urabe)
03:29 AM Revision 966532cc (git): * Makefile.in, win32/Makefile.sub (test-rubyspec-precheck): split
from test-rubyspec.
* common.mk (test-rubyspec): moved from Makefile.in.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:02 AM Revision 7a80e95e (git): * 2010-08-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:02 AM Revision 8eb121d8 (git): * ext/bigdecimal/bigdecimal.h (llabs): never never never never never
use "long long".
* ext/bigdecimal.bigdecimal.c (BigDecimal_to_i): get rid of a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:53 AM Revision 2e632711 (git): * lib/webrick/httpresponse.rb (WEBrick::HTTPResponse#set_error):
Fix for possible cross-site scripting (CVE-2010-0541).
Found by Apple, reported by Hideki Yamane.
Patch by Hirokazu Nishio <nishio.hirokazu AT gmail.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@28997 b2dd03c...
yugui (Yuki Sonoda)

08/15/2010

09:09 PM Bug #3696: Fwd: [ruby-list:47272] case when 整数と実数の比較 (ruby 1.9)
=begin
小堀といいます。

以下のようにして修正できましたので、報告します。
whenにあらわれるのがすべて定数のとき、整数だろうと浮動小数点数であろうとハッシュテーブルに登録しています。
すると小数と整数の組み合わせでは、比較しても一致しなくなってしまいます(1 と 1.0 の場合など)。
なので小数を整数に丸めても精度が落ちないときは、変換してからテーブルに登録するようにしました。case に小数があらわれたときも同様です。

そ...
ikk775 (Ikuo KOBORI)
07:16 PM Bug #3696 (Closed): Fwd: [ruby-list:47272] case when 整数と実数の比較 (ruby 1.9)
=begin
 ささだです.

 本件をバグとして登録します.


-------- Original Message --------
Subject: [ruby-list:47272] case when 整数と実数の比較 (ruby 1.9)
Date: Fri, 30 Jul 2010 14:41:58 +0900
From: 小田 利通 <[email protected]>
Reply-To: ruby-list@ruby...
ko1 (Koichi Sasada)
08:49 PM Bug #3698 (Closed): Building the readline extension against libedit will create a non-working extension
=begin
We're hitting a bug in Gentoo due to our adding further safety flags into our Ruby build: ruby 1.9.2_rc2 fails to build the libedit-based readline extension because of two missing symbols in link:


i686-pc-linux-gnu-gcc -s...
Flameeyes (Diego Elio Pettenò)
08:44 PM Feature #3697 (Closed): [PATCH] Allow build of dbm extension with Berkeley DB 5.0 series (for 1.9.2_rc2)
=begin
This is the same issue as bug #3294 but with the patch for Ruby 1.9.2_rc2 rather than for 1.8.7, as the two patch are quite different.

HTH,
Diego
=end
Flameeyes (Diego Elio Pettenò)
07:14 PM Bug #3607: [trunk/r28731] Gem.path has disappeared?
=begin
Historically, Debian also ships the RubyGems code from rubygems.org in a separate package (and does not ship the code from MRI). Because of that, ruby 1.9 on Debian is currently without any working rubygems.

The underlying q...
sylvain.joyeux (Sylvain Joyeux)
09:20 AM Revision 56d3b926 (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_dump, BigDecimal_inspect, VPrint, VpToString, VpVarCheck): use PRIuSIZE, PRIdSIZE, PRIdVALUE, and PRIxVALUE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
07:22 AM Revision 5dde183d (git): * lib/mkmf.rb (Logging.postpone): close @log only when it's available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
04:32 AM Revision 1148f6a3 (git): * ext/bigdecimal/bigdecimal.h (VpVtoD): fix a type of e.
* ext/bigdecimal/bigdecimal.c (BigDecimal_dump, BigDecimal_inspect): fix format for size_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
04:26 AM Bug #3668: make check segfault in test_syntax.rb
=begin
Appears to be triggered by heap corruption during test/ruby/test_string.rb. Likewise with [ruby 1.9.3dev (2010-08-15) [i386-mswin32_100]], heap corruption is detected when linked to the debug crt libs.

=end
pweldon (Peter Weldon)
02:45 AM Bug #3690: method_missing in a BasicObject's singleton class - infinite recursion segfaults
=begin
On 14 August 2010 17:34, Jan Lelis <[email protected]> wrote:
> Issue #3690 has been updated by Jan Lelis.
>
>
> But it does not throw a SystemStackError
>

At me (OS X), it depends quite much.
(ruby 1.9.3dev (2010-08...
Eregon (Benoit Daloze)
02:25 AM Bug #3690: method_missing in a BasicObject's singleton class - infinite recursion segfaults
=begin
I can reproduce on ruby 1.9.3dev (2010-08-13 trunk 28973) [i686-linux] with the OP's script. Attached the output.
=end
runpaint (Run Paint Run Run)
01:50 AM Bug #3690: method_missing in a BasicObject's singleton class - infinite recursion segfaults
=begin
Well it does on my Mac


→ rvm use 1.9.2
Using ruby 1.9.2 preview1

~
→ ruby -e'obj = BasicObject.new
quote>
quote> def obj.method_missing(m, *args, &block)
quote> send( m, *args, &block )
quote> end
qu...
RickDeNatale (Rick DeNatale)
12:34 AM Bug #3690: method_missing in a BasicObject's singleton class - infinite recursion segfaults
=begin
But it does not throw a SystemStackError
=end
rbjl (Jan Lelis)
02:37 AM Revision b167f42c (git): fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)

08/14/2010

10:56 PM Bug #3673: PTY.getpty with IO.pipe doesn't finish on FreeBSD
=begin
2010年8月14日19:55 Yui NARUSE <[email protected]>:

> うーん、前の Bug #3515 と関係あるのかなぁ。

NetBSD や OpenBSD でも再現するので関係ないと思います。
--
[田中 哲][たなか あきら][Tanaka Akira]
=end
akr (Akira Tanaka)
07:55 PM Bug #3673: PTY.getpty with IO.pipe doesn't finish on FreeBSD
=begin
まずはテストの修正ありがとうございます。

確かに以下の通り close(2) の前にエコーによって出力された文字列を読んであげるとちゃんと閉じられますね。
うーん、前の Bug #3515 と関係あるのかなぁ。

#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <sys/types.h>
#include <unistd.h>
...
naruse (Yui NARUSE)
07:17 PM Bug #3695 (Closed): r28978 fails to make all
=begin
This issue was solved with changeset r28987.
Shyouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
06:05 PM Bug #3695 (Closed): r28978 fails to make all
=begin
r28978以降コンパイルできません。ログ: http://www.atdot.net/sp/raw/v1v47l

長いので抜粋すると、
make[1]: Entering directory `/build/ext/coverage'
gcc -I. -I../../.ext/include/x86_64-linux -I/src/include -I/src/ext/coverage -DRUBY_EXTCONF_H...
shyouhei (Shyouhei Urabe)
06:17 PM Bug #3693: visibility hidden functions
=begin
nari です。

中田さんの修正のおかげで ext/objspace/objspace.c が動くようになったので
テストとバグ修正をコミットしました(r28986)。
=end
authorNari (Narihiro Nakamura)
12:17 PM Bug #3693: visibility hidden functions
=begin
須藤です。

In <[email protected]>
"[ruby-dev:42028] Re: [Bug #3693] visibility hidden functions" on Sat, 14 Aug 2010 11:10:28 +0900,
Nobuyoshi Nakada <[email protected]> wrote:

>> > うーん。推奨しない関数の扱いはどうするといいんでしょ...
kou (Kouhei Sutou)
11:10 AM Bug #3693: visibility hidden functions
=begin
なかだです。

At Sat, 14 Aug 2010 09:00:21 +0900,
Kouhei Sutou wrote in [ruby-dev:42026]:
> > うーん。推奨しない関数の扱いはどうするといいんでしょうか…。
>
> 私は、こういうときは、private.hみたいなインストールされない
> ヘッダーファイルを作って、.cの中からだけそれをincludeするよ
> うにしています。

これも何年か前からのペ...
nobu (Nobuyoshi Nakada)
09:00 AM Bug #3693: visibility hidden functions
=begin
須藤です。

In <[email protected]>
"[ruby-dev:42025] Re: [Bug #3693] visibility hidden functions" on Sat, 14 Aug 2010 08:47:55 +0900,
Narihiro Nakamura <[email protected]> wrote:
...
kou (Kouhei Sutou)
08:48 AM Bug #3693: visibility hidden functions
=begin
nari です。

2010年8月14日7:44 SASADA Koichi <[email protected]>:
>  ささだです.
>
> (2010/08/14 6:56), Narihiro Nakamura wrote:
>> ヘッダファイルに定義されていない関数を何個かみつけました。
>> 修正したパッチを添付します。
>
> これらの関数は,まさに objspace.c 用なのと,あまり乱用してほしくないの
> で,とりあえ...
authorNari (Narihiro Nakamura)
08:48 AM Bug #3693: visibility hidden functions
=begin
nari です。

2010年8月14日7:44 SASADA Koichi <[email protected]>:
>  ささだです.
>
> (2010/08/14 6:56), Narihiro Nakamura wrote:
>> ヘッダファイルに定義されていない関数を何個かみつけました。
>> 修正したパッチを添付します。
>
> これらの関数は,まさに objspace.c 用なのと,あまり乱用してほしくないの
> で,とりあえ...
authorNari (Narihiro Nakamura)
07:48 AM Bug #3693: visibility hidden functions
=begin
(2010/08/14 7:44), SASADA Koichi wrote:
>> そこで ext/objspace/objspace.c について簡単なテストを書いてみました。
>> 書いたテストを実行した所、数点SEGVする箇所を見つけたので、それについて
>> も修正しています。
>
>  具体的に,SEGV したのはどこで,修正はどれでしょうか.と思った
> ら,fixed_objspace_test.rb の中かー.こっちは良い...
ko1 (Koichi Sasada)
07:44 AM Bug #3693: visibility hidden functions
=begin
 ささだです.

(2010/08/14 6:56), Narihiro Nakamura wrote:
> ヘッダファイルに定義されていない関数を何個かみつけました。
> 修正したパッチを添付します。

 これらの関数は,まさに objspace.c 用なのと,あまり乱用してほしくないの
で,とりあえずヘッダファイルに入れていません.

> そこで ext/objspace/objspace.c について簡単なテストを書いてみました。...
ko1 (Koichi Sasada)
07:44 AM Bug #3693: visibility hidden functions
=begin
 ささだです.

(2010/08/14 6:56), Narihiro Nakamura wrote:
> ヘッダファイルに定義されていない関数を何個かみつけました。
> 修正したパッチを添付します。

 これらの関数は,まさに objspace.c 用なのと,あまり乱用してほしくないの
で,とりあえずヘッダファイルに入れていません.

> そこで ext/objspace/objspace.c について簡単なテストを書いてみました。...
ko1 (Koichi Sasada)
06:56 AM Bug #3693 (Closed): visibility hidden functions
=begin
nari です。

ヘッダファイルに定義されていない関数を何個かみつけました。
修正したパッチを添付します。

定義漏れしていた関数は ext/objspace/objspace.c 内で使われているのですが、
この拡張ライブラリにはテストがなく、気づくのが遅れたようです。

そこで ext/objspace/objspace.c について簡単なテストを書いてみました。
書いたテストを実行した所、数点SEGVする箇所を...
authorNari (Narihiro Nakamura)
03:22 PM Revision d86da0fc (git): * ext/bigdecimal/extconf.rb, ext/bigdecimal/bigdecimal.h (labs, llabs): support environments missing labs and llabs.
* ext/bigdecimal/bigdecimal.h (vabs): added.
* ext/bigdecimal/extconf.rb, ext/bigdecimal/bigdecimal.h, ext/bigdecimal/bigdecimal.c, test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_new): replace U_LONG, S_LONG, S_INT, and U_INT wi...
Kenta Murata
03:16 PM Revision 01e3f613 (git): * 2010-08-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:16 PM Revision 5c55715c (git): * ext/pathname/pathname.c (path_utime): Pathname#utime translated
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:44 PM Bug #3694: Error during make for 1.9.2-rc2
=begin

=end
nobu (Nobuyoshi Nakada)
08:10 AM Bug #3694 (Closed): Error during make for 1.9.2-rc2
=begin
Trying to install, get the following message during make:

./tool/compile_prelude.rb:188: [BUG] Segmentation fault
ruby 1.9.2dev (2010-07-11 revision 28618) [x86_64-darwin10.4.0]

-- control frame ----------
c:0003 p:...
yb601 (Iain Barnett)
12:04 PM Revision f214490d (git): * thread.c (rb_gc_mark_threads): deprecated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:59 AM Revision 78b10588 (git): * test/coverage/test_coverage.rb: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:40 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin
Hi,

I am attaching an updated patch against SVN r28972.

Thanks for your consideration.
=end
sunaku (Suraj Kurapati)
10:29 AM Bug #3690 (Rejected): method_missing in a BasicObject's singleton class - infinite recursion segfaults
=begin
Yes, it does recurse infinitely with any objects.
That's what you code does.
=end
nobu (Nobuyoshi Nakada)
10:12 AM Revision 9f41782e (git): * ext/{coverage,objspace}/extconf.rb ($INCFLAGS): explicitly add
topdir and top_srcdir. [ruby-dev:42031]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:01 AM Revision e5731864 (git): * test/objspace/test_objspace.rb: added test for objspace.
* ext/objspace/objspace.c: considers T_ZOMBIE by lazy sweep GC.
* gc.c: considers that dsize was 0. [ruby-dev:42022]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
authorNari (Narihiro Nakamura)
08:12 AM Revision a164f6ba (git): merges r28795 and r28796 from trunk into ruby_1_9_2.
--
* file.c (file_expand_path): should check if could find user.
[ruby-core:31538]
--
* file.c (file_expand_path): home directory must be absolute.
[ruby-core:31537]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28...
yugui (Yuki Sonoda)
08:12 AM Revision 408504ef (git): * 2010-08-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:11 AM Revision 90e1093a (git): merges r28628 from trunk into ruby_1_9_2.
--
* configure.in: fix for universal binary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
06:33 AM Revision dccf9e0c (git): * configure.in, include/ruby/defines.h (RUBY_FUNC_EXPORTED): macro
to declare exported function.
* array.c (rb_ary_memsize), string.c (rb_str_memsize),
variable.c (rb_objspace_data_type_memsize): used in
objspace. [ruby-dev:42022]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28982 b2dd03c8-...
nobu (Nobuyoshi Nakada)
06:19 AM Revision a23b1f74 (git): * io.c (rb_io_memsize): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:17 AM Revision a979eb45 (git): * regcomp.c (onig_memsize): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:11 AM Revision 23b1a3d3 (git): * gc.h (rb_objspace_each_objects): used in objspace.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:58 AM Revision a33fdc4e (git): * vm_core.h (rb_{get,set,reset}_coverages): used in coverage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:23 AM Revision 92cb7d0a (git): * include/ruby/intern.h (rb_time_interval): used in io/wait.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:21 AM Revision 6fe403b0 (git): * 2010-08-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:20 AM Revision 3bf1afbd (git): * include/ruby/intern.h (rb_make_backtrace, rb_make_exception):
used in ripper.
* node.h (rb_parser_{malloc,realloc,calloc,free}): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

08/13/2010

10:07 PM Bug #3690 (Rejected): method_missing in a BasicObject's singleton class - infinite recursion segfaults
=begin
# segfaults with all versions that I tested (1.9.3, 1.9.2, 1.9.1)

obj = BasicObject.new

def obj.method_missing(m, *args, &block)
send( m, *args, &block )
end

puts obj.seg
=end
rbjl (Jan Lelis)
01:49 PM Revision 87da8f0a (git): * ext/pathname/pathname.c (path_truncate): Pathname#truncate translated
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:45 AM Feature #3680: Splatting calls to_ary instead of to_a in some cases
=begin
>> o=Object.new
=> #<Object:0x8b67d28>
>> def o.method_missing(m,*)
>> p [__method__, m]
>> super
>> end
=> nil
>> File.open(o)
[:method_missing, :to_int]
[:method_missing, :to_hash]
[:me...
runpaint (Run Paint Run Run)
08:53 AM Feature #3680: Splatting calls to_ary instead of to_a in some cases
=begin
Let's say I call File.open(C.new) where
class C
def to_str; "a.txt"; end
def method_missing name, *arg
raise NoMethodError
end
end

File.open tries at most 4 conversions: to_int, to_hash, to_path and to...
tmat (Tomas Matousek)
08:04 AM Feature #3680: Splatting calls to_ary instead of to_a in some cases
=begin
It's not. There's been a spec. change: instead of calling #respond_to?, we just try and call the method, rescuing NoMethodError. That is, #respond_to? will not be called by Array(), String(), Float(), etc. Splatting isn't special...
runpaint (Run Paint Run Run)
06:23 AM Feature #3680: Splatting calls to_ary instead of to_a in some cases
=begin
I'm confused. You're saying that in 1.9.2+ splatting operators don't call respond_to?(:to_a/:to_ary)? Almost all other conversions do call respond_to? first before calling the method itself. E.g.:

class C
def respond_to?...
tmat (Tomas Matousek)
04:10 AM Feature #3680: Splatting calls to_ary instead of to_a in some cases
=begin
> OK, so this seems to be fixed. I haven't found more recent binaries for Windows
> than 1.9.1 so I can't test that.
> So you're saying when *expr doesn't call respond_to? in 1.9.3? That looks like
> a bug unless splatting ...
runpaint (Run Paint Run Run)
02:36 AM Feature #3680: Splatting calls to_ary instead of to_a in some cases
=begin
OK, so this seems to be fixed. I haven't found more recent binaries for Windows than 1.9.1 so I can't test that.
So you're saying when *expr doesn't call respond_to? in 1.9.3? That looks like a bug unless splatting operations i...
tmat (Tomas Matousek)
02:10 AM Feature #3680: Splatting calls to_ary instead of to_a in some cases
=begin
I don't have a 1.9.1 installed ATM, but on trunk/1.9.3 the following does indeed call #to_a. (#respond_to? isn't used in this case, no pun intended).

class C
def to_ary; p :ary; [:ary]; end
def to_a; p :a; [:...
runpaint (Run Paint Run Run)
01:37 AM Feature #3680: Splatting calls to_ary instead of to_a in some cases
=begin
I see, so there is implicit and explicit splatting. The former uses to_ary the latter to_a.

So the splatting in the following code (in when clause) should use to_a since it is an explicit one, right? It attempts to call bot...
tmat (Tomas Matousek)
09:33 AM Bug #3687: Date#rfc3339 does not include time, which breaks Date._rfc3339
=begin

=end
naruse (Yui NARUSE)
01:21 AM Bug #3687 (Closed): Date#rfc3339 does not include time, which breaks Date._rfc3339
=begin
I'm not sure if the bug is in the rfc3339 instance method or the _rfc3339 class method, but there's an obvious disconnect between the two. I'm guessing the problem is in the instance method, as RFC3339 doesn't seem to mention da...
jeremyevans0 (Jeremy Evans)
07:12 AM Revision d7d361a3 (git): * lib/test/unit.rb (MiniTest::Unit.new): extend before initialize.
[ruby-dev:41970]
* lib/test/unit.rb (MiniTest::Unit.autorun): use Test::Unit::Mini.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:51 AM Feature #3688 (Rejected): redef keyword for method redefinition in Ruby 2.0
=begin
Hello,

I saw Matz's Euroko 2010 keynote[1] where he mentioned adding the
ability to redefine methods gracefully in Ruby 2.0. I mean, more
gracefully than this:

class Hash
# save the original method
a...
sunaku (Suraj Kurapati)
12:45 AM Bug #3686 (Closed): Error in parsing musicbrainz.org with rexml
=begin
rexml (ruby 1.9.1) fails to parse this url http://musicbrainz.org/show/puid/?puid=c6a6717f-6d88-4d0e-4c57-d6b949118072 .

require 'net/http'
require 'rexml/document'

url='http://musicbrainz.org/show/puid/?puid=c6a6717f...
vinc-mai (Vincent Carmona)
12:12 AM Bug #3677: unable to run certain gem binaries' in windows 7
=begin
Hello,

Bosko (one of RubyInstaller contributors) shed some light on this issue in our group:

http://groups.google.com/group/rubyinstaller/msg/249a08a3f635bf72

Going to quote it here:


"Problem is that during...
luislavena (Luis Lavena)

08/12/2010

06:31 PM Bug #3136: reuse of singleton method definition causes SEGV
=begin
ワナベと申します。
解決方法 1. はきつそうだったので、2. の方向で試してみました。
これで本チケットおよび 2502 は発症しなくなりました。
複製することによる副作用に思い当たらないので、
反対がなければコミットしてしまおうと思っています。

diff --git a/vm.c b/vm.c
index e62c9a4..a381d3c 100644
--- a/vm.c
+++ b/vm.c
@@ -18...
wanabe (_ wanabe)
05:14 PM Feature #3638: VM内データ構造へアクセスするマクロ
=begin
ワナベです。

>  パッチ拝見しました.
>
>  話としては良いと思うのですが,マクロ名が一般的すぎて,ちょっと問題では
> ないかと思いました.

ありがとうございます。なるほど。

>  というのも,たとえば「CREF(cfp)」なんかは,すべての CREF がそのように
> アクセスできるのならそれでいいと思うのですが,そうでないこともあるのに,
> この一般的な名前はまずいのではないかと思います....
wanabe (_ wanabe)
02:39 PM Revision 05d9fabd (git): * ext/pathname/pathname.c (path_make_symlink): Pathname#make_symlink
translated from pathname.rb.
-- この行以は下無視されます --
M ChangeLog
M ext/pathname/lib/pathname.rb
M ext/pathname/pathname.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:10 PM Feature #3685 (Rejected): Struct does not define #to_ary, needed for implicit-splat.
=begin
Now that #to_ary is used for implicit-splat, I believe it would be useful to support implicit-splat for Structs, since they share some behavior with Arrays.
=end
postmodern (Hal Brodigan)
01:42 PM Bug #3684 (Closed): String#to_i documentation mismatch
=begin
Missing:

Giving base 0 makes this method take prefix into account.
ex. "0xFF".to_i(0) #=> 255

Wrong:

string.c rb_str_to_i says:

This method never raises an exception.

But it raises

* ArgumentError...
sakuro (Sakuro OZAWA)
12:18 PM Revision 98f53d5d (git): * ext/pathname/pathname.c (path_lstat): Pathname#lstat translated
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
07:11 AM Bug #3683 (Closed): getgrnam on computer with NIS group (+)?
=begin
When I ran "make check" on a computer that has NIS groups, I notice that the ruby-test/test/etc/test_etc.rb fails with this:

1) Error:
test_getgrnam(TestEtc):
ArgumentError: can't find group for +
/src/external-...
rocky (Rocky Bernstein)
05:56 AM Bug #3677: unable to run certain gem binaries' in windows 7
=begin
Appears that deleting your installation's "rake.gemspec" file is enough.

http://gist.github.com/519744

Perhaps rubygems doesn't know how to remove the previous version .gemspec file, since it lacks any version info?

...
rogerdpack (Roger Pack)
04:03 AM Feature #3680: Splatting calls to_ary instead of to_a in some cases
=begin
I addressed this as a footnote of http://ruby.runpaint.org/variables :

<<Note that :to_ary is sent rather than the :to_a used by the splat operator. In the former case, the programmer did not directly request that conversion...
runpaint (Run Paint Run Run)
12:39 AM Feature #3680 (Rejected): Splatting calls to_ary instead of to_a in some cases
=begin
In some cases to_ary is called to splat an array. Shouldn't to_a be always called?

class C
def respond_to? name
p name
false
end
end

p [1,*C.new]
p(*C.new)

x,y = C.new
p x,y

proc {|a,...
tmat (Tomas Matousek)
01:44 AM Bug #3676: CMath.cbrt(-8)の結果が複素数にならない
=begin
まつもと ゆきひろです

Topポスティングはあまり好きではないのですが、理解しないまま
にヘタに削るとまずそうなので、今回は残します。

要約すると

(1) Complex#** は主値を返すべきである(現状のまま)
(2) CMath.cbrt()は主値を返せた方がよい
(2-1) 主値を返す
(2-2) 主値を返すオプションを用意する
(2-3) オプションを用意した上、CMathはMathのalia...
matz (Yukihiro Matsumoto)
01:09 AM Bug #3676: CMath.cbrt(-8)の結果が複素数にならない
=begin
むらたです。

On 2010/08/11, at 1:08, Yusuke ENDOH wrote:

> 2010年8月10日23:22 Tadayoshi Funaba <[email protected]>:
>>> 現在のCMath.cbrt(-8)の結果は-2で、これは3乗すると-8になるとい
>>> う意味で正しい値に思えるのですが。Cmath.cbrt(-8)が返すべき
>>> 「正しい」値はなんだとお考えですか?
>>
>...
mrkn (Kenta Murata)
01:08 AM Bug #3681 (Closed): Character class abbreviations, + repetition notation and group backreferences issue in Regexp
=begin
There seems to be a bug in Ruby 1.9.2 rc2 regarding Regular Expression

/([A-Z][a-z]+){2}/ =~ 'TestString' # => 0 #correct
/([A-Z]\w+){2}/ =~ 'TestString' # => nil #should be 0
/([A-Z](\w)+){2}/ =~ 'TestString...
dre3k (Andrei Kulakov)
12:27 AM Bug #3673 (Closed): PTY.getpty with IO.pipe doesn't finish on FreeBSD
=begin
This issue was solved with changeset r28965.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
akr (Akira Tanaka)
 

Also available in: Atom