Project

General

Profile

Activity

From 07/28/2011 to 08/03/2011

08/03/2011

11:57 PM Bug #4944: crash in FIPS mode after unchecked EVP_DigestInit_ex failure
Output from r32273, before the fix, as a sanity check:
rhel6w-32 ~ $ export PATH=/bin:/sbin:/usr/bin:/usr/sbin
rhel6w-32 ~ $ export PATH=$HOME/ruby-snapshot-prefix/bin:$PATH
rhel6w-32 ~ $ export LD_LIBRARY_PATH=$HOME/ruby-snapshot-p...
jared.jennings.ctr (Jared Jennings)
11:46 PM Bug #5139: sigsegv のスタックオーバフロー
Tomoyuki Chikanaga wrote:
> ところで r32815 はメインスレッドの altstack を init_head() 後に確保しなおしているようですが、
> ...
なんででしょうねぇ。
力尽くで探索して求めた位置なので、よくわからんです。
結局heapとaltstackの位置関係が変わっているのがキモだとは思うんですが。
なお、メインスレッドしかない場合th_initの方のaltstack確保は必要ないので、
むしろメインス...
naruse (Yui NARUSE)
07:29 PM Bug #5139: sigsegv のスタックオーバフロー
最新 trunk で RHEL4 で2度目の SEGV しているのは backtrace() の中とかなので glibc 古すぎとかかもしれません。
(gdb) where
#0 0x0000003feff07f2c in _Unwind_FindEnclosingFunction ()
from /lib64/libgcc_s.so.1
#1 0x0000003feff08e37 in _Unwind_Backtrace () from /lib...
nagachika (Tomoyuki Chikanaga)
07:13 PM Bug #5139 (Closed): sigsegv のスタックオーバフロー
RHEL4はもうplatform のほうがEOLなので深追いするだけ無駄だと思います。closeしましょう。
kosaki (Motohiro KOSAKI)
12:29 PM Bug #5139: sigsegv のスタックオーバフロー
(B) の -O3 では確かに r32749 でも、その前の r32748 でも同じエラーが出ていました。
すみません、(B) の -O3 はしばらく test-all を流していなかったので気がついてませんでしたが、
2011/05/01 の r31399 まで遡ってもまだ発生するので、この環境ではだいぶ前からこの問題があったみたいです。
nagachika (Tomoyuki Chikanaga)
11:43 AM Bug #5139: sigsegv のスタックオーバフロー
Tomoyuki Chikanaga wrote:
> (A) の 32bit マシンでは最新版の trunk で直っていました。
> ...
B) Red Hat Enterprise Linux ES release 4 (Nahant Update 8) って、r32751 より前ではきちんと動いてました?
naruse (Yui NARUSE)
09:26 AM Bug #5139: sigsegv のスタックオーバフロー
(A) の 32bit マシンでは最新版の trunk で直っていました。
しかし (B) の x86_64 -O3 つきではやはり "C level backtrace information" まで表示して SEGV しています。
nagachika (Tomoyuki Chikanaga)
09:23 AM Bug #5139: sigsegv のスタックオーバフロー
2011年8月3日9:00 Yui NARUSE <naruse@airemix.jp>:
>
> とりあえず r32815, r32821 にて boron では直ったんですが、chikanagaさんの環境ではどうですかね。
> http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/recent.html

この issue 自体とは関係なくてなんですが、recent.html は内容がどん...
akr (Akira Tanaka)
09:00 AM Bug #5139: sigsegv のスタックオーバフロー
とりあえず r32815, r32821 にて boron では直ったんですが、chikanagaさんの環境ではどうですかね。
http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/recent.html
naruse (Yui NARUSE)
12:33 AM Bug #5139 (Assigned): sigsegv のスタックオーバフロー
naruse (Yui NARUSE)
11:23 PM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
2011/8/2 Yehuda Katz <wycats@gmail.com>:

> The current Ruby I/O classes have non-blocking methods (read_nonblock and write_nonblock). These methods will never block, and if they would block, they raise an exception instead (IO::WaitR...
akr (Akira Tanaka)
11:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
Tanaka Akira <akr@fsij.org> wrote:
> 2011/8/2 Eric Wong <normalperson@yhbt.net>:
>
> > That use of select + readpartial is unsafe. Spurious wakeup is a
> > documented behavior of the select() system call, data can be received
...
normalperson (Eric Wong)
11:22 PM Bug #5144: Remove GPL file from repository
Yusuke Endoh wrote:
> >> Must a binary for other platforms be distributed under GPL in the
> ...
No, because the binary doesn't include the code or related results.
naruse (Yui NARUSE)
09:55 PM Bug #5144 (Rejected): Remove GPL file from repository
Thank you for your helpful answers.
2011/8/3 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> (08/03/2011 09:30 AM), Yusuke ENDOH wrote:
> ...
I have no more reason if confusing is not enough.
So I'm closing this ticket.
>> So A win...
mame (Yusuke Endoh)
10:23 AM Bug #5144: Remove GPL file from repository
(08/03/2011 09:30 AM), Yusuke ENDOH wrote:
> I'm suggesting just renaming or moving, not removing the GPL file.
> Is it unacceptable?

I think you need a valid reason to do so, other than just "confusing".

> I also want you...
shyouhei (Shyouhei Urabe)
09:53 AM Bug #5144: Remove GPL file from repository
2011/8/3 Shyouhei Urabe <shyouhei@ruby-lang.org>:
> I think *you* are blamed. You see the GPL file is confusing and that's because you are ignorant, he says.

Sorry. I want you to clarify the license because I'm ignorant.

I...
mame (Yusuke Endoh)
07:17 AM Bug #5144: Remove GPL file from repository
> > If they notice the GPL file and worry, they should learn.
> ...
I think *you* are blamed. You see the GPL file is confusing and that's because you are ignorant, he says.
shyouhei (Shyouhei Urabe)
08:51 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
Firstly, can you please run test _after_ 'make install'?
Now some tests depend on it unfortunately.
kosaki (Motohiro KOSAKI)
12:05 PM Bug #5135 (Assigned): Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
kosaki (Motohiro KOSAKI)
06:08 PM Revision e9ddb1a1 (git): * tool/rbinstall.rb: use rubygems to load gemspecs, copy actual
gemspecs on install rather than generate fake ones for all gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
06:08 PM Revision 92f39045 (git): oops, fix author in the psych gemspec
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
05:49 PM Revision 03418c4e (git): * configure.in: set CXX variable to the C++ compiler that matches the
C compiler specified by CC variable (e.g. use g++-4.2 for gcc-4.2).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
05:39 PM Revision ddcb133a (git): * configure.in: use build_os variable for checking C and C++ compilers
matching.
* configure.in: use clang++ if clang is used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
05:21 PM Revision 36be8938 (git): * 2011-08-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:21 PM Revision ae513241 (git): * lib/mkmf.rb (link_command): use static library only for bundled
extensions. [Bug #5147]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:21 PM Revision 32f8e989 (git): * lib/mkmf.rb (link_command): use static library only for bundled
extensions. [Bug #5147]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:20 PM Revision 7150df45 (git): * ext/psych/psych.gemspec: property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:02 PM Revision 55d68f11 (git): installing psych as a gem
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
04:23 PM Feature #5123: Alias Hash 1.9 as OrderedHash
> It would be nice if the ordered Hash in Ruby 1.9 was aliased as OrderedHash.
> That way people who rely on preserving the insertion order in some application (me, for example) could explicitly use OrderedHash, and developers of Ruby ...
yeban (Anurag Priyam)
10:29 AM Feature #5123: Alias Hash 1.9 as OrderedHash
IWon't this break orderedhash gem?
In any case, now that Hash preserves order, why would anyone ever think about changing it back and break old code?
trans (Thomas Sawyer)
04:10 PM Feature #5153 (Closed): Remove rb_add_suffix
This issue was solved with changeset r32826.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* util.c, include/ruby/util.h (ruby_add_suffix): remove the functi...
usa (Usaku NAKAMURA)
12:11 PM Feature #5153 (Closed): Remove rb_add_suffix
rb_add_suffix in util.c is GPL and obsoleted code, so I want to remove it.
rb_add_suffix is drived from Perl's win32.c file and GPL/Artistic License.
The code is used when ruby runs with -i (inplace option).
Practically it works onl...
naruse (Yui NARUSE)
03:40 PM Revision d7c026d0 (git): Mark a code is GPL or not.
This is made the comparison between current and initial commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:38 PM Revision 9dd559a7 (git): * 2011-08-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:38 PM Revision c8c02c9c (git): Cosmetic change of Hash literal.
'BindAddress: var' => ':BindAddress => var' according to other configurations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Hiroshi Nakamura
01:59 PM Bug #5154 (Closed): method_missing and module scope, regression in 1.9.3
There is this bug against, factory_girl, for complete story
https://github.com/thoughtbot/factory_girl/issues/167
A minimum reproducible case is:
gnufied (hemant kumar)
12:42 PM Feature #5101: allow optional timeout for TCPSocket.new
I made a pactch for connect_timeout for Socket.tcp.
with timeout:
% time ./ruby -rsocket -e 'Socket.tcp("192.0.2.1", 80, :connect_timeout=>1)'
/home/akr/ruby/tst1/lib/ruby/1.9.1/socket.rb:48:in `rescue in connect_internal': Connecti...
akr (Akira Tanaka)
12:24 PM Bug #5152: TestDateNew#test_civil が GC.stress = true 下で Failure
すみません、ソースコードを良く読むと RB_GC_GUARD() を挿入しないといけないのはさっきのところじゃなくて関数の最後のほうに挿入する必要がありそうでした。
また parse_ddd_cb() にも GC 保護が必要な変数がありそうでした。
@@ -1323,6 +1324,7 @@ parse_ddd_cb(VALUE m, VALUE hash)
}
break;
}
+ RB_GC_GUA...
nagachika (Tomoyuki Chikanaga)
10:13 AM Bug #5152 (Closed): TestDateNew#test_civil が GC.stress = true 下で Failure
make test-all TESTS="-vq --gc-stress date/test_date_new.rb -n test_civil"
のように GC.stress = true 下で DateTime のテストが Failure します。
1) Failure:
test_civil(TestDateNew) [/home/chikanaga/opt/ruby-trunk/src/ruby/test/date/test_date_new.rb...
nagachika (Tomoyuki Chikanaga)
12:18 PM Revision 454de1d5 (git): update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:54 AM Feature #4788: resolv.rb refactoring
元の問題は、lib/resolv.rb が、TCP へのフォールバックに対応して、その際に
make_requester --> make_udp_requester という名前の変更があったために、
(公開インターフェースではない)それに依存していたコードが動かなくなった、
というものです。
しかし、make_requester のような内部の非常に低いレイヤにあるメソッドに
rubydns ライブラリのコードが依存していた理由は、DNS#each_re...
metanest (Makoto Kishimoto)
07:46 AM Bug #5150 (Closed): Ruby-trunk Crashed in running test-rubyspec
This issue was solved with changeset r32823.
Ayumu, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* encoding.c (enc_find): mistakenly remained !. [Bug #5150]
nobu (Nobuyoshi Nakada)
04:13 AM Bug #5150 (Closed): Ruby-trunk Crashed in running test-rubyspec
trunk をMac OS X 10.6.8 でBuildしたのち、test-rubyspec を実行したら Crash しました。
ruby のバージョンと環境は以下のとおり。
実行ログと~/Library/Logs/CrashReporter にあったファイルを添付します。
$ bin/ruby -v
ruby 1.9.4dev (2011-08-03 trunk 32821) [x86_64-darwin10.8.0]
$ uname -srv...
ayumin (Ayumu AIZAWA)
07:23 AM Bug #5151: test/socket/test_socket.rb fail when udp connection failed
あいざわです
> まず、なんで失敗するんでしょうか。
>
> ちなみに、OpenBSD では (おそらく) OS のバグで失敗します。
> [ruby-core:38603]
わたしの環境の方の問題ですかね。
ちなみに Mac OS X 10.6.8 で実行しました。

ip_address_list でとってきているアドレスは
"::1",
"fe80::1%lo0",
"127.0.0.1",
"fd5e:b7ac:aaf8:9f02:...
ayumin (Ayumu AIZAWA)
06:53 AM Bug #5151: test/socket/test_socket.rb fail when udp connection failed
2011/8/3 Ayumu AIZAWA <ayumu.aizawa@gmail.com>:

> test/socket/test_socket.rb の test_udp_server 内で Socket.ip_address_list で得られる
> アドレスに対して接続できないときに RuntimeError でテストが失敗します。
>
> 同じテストファイルの中の test_ip_address_list は成功しているので、取得して...
akr (Akira Tanaka)
06:53 AM Bug #5151: test/socket/test_socket.rb fail when udp connection failed
2011/8/3 Ayumu AIZAWA <ayumu.aizawa@gmail.com>:

> test/socket/test_socket.rb の test_udp_server 内で Socket.ip_address_list で得られる
> アドレスに対して接続できないときに RuntimeError でテストが失敗します。
>
> 同じテストファイルの中の test_ip_address_list は成功しているので、取得して...
akr (Akira Tanaka)
06:23 AM Bug #5151 (Closed): test/socket/test_socket.rb fail when udp connection failed
=begin
test/socket/test_socket.rb の test_udp_server 内で Socket.ip_address_list で得られる
アドレスに対して接続できないときに RuntimeError でテストが失敗します。
同じテストファイルの中の test_ip_address_list は成功しているので、取得しているリスト
の中身自体は問題なさそうなので、接続できないときはスキップしてしまってよいのでは
ないかとおもい...
ayumin (Ayumu AIZAWA)
07:10 AM Revision f9e9eee6 (git): * util.c, include/ruby/util.h (ruby_add_suffix): remove the function.
[Bug #5153] [ruby-core:38736]
* io.c (argf_next_argv): remove the call of above function.
* ext/-test-/add_suffix, test/-ext-/test_add_suffix.rb: remove the test
extension module because this is only for testsing ruby_add_suffix().
...
U.Nakamura
03:47 AM Revision f0fbf6c9 (git): * variable.c (check_before_mod_set): should be static.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:31 AM Bug #4834 (Closed): Adding documentation for prettyprint library
akr (Akira Tanaka)
12:22 AM Revision deb0024a (git): * test/xmlrpc/webrick_testing.rb (WEBrick_Testing#start_server):
Like r32795, bind address should be specified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
12:01 AM Feature #5148 (Rejected): Constant Namespace/Scoping in Dynamic Classes/Modules
When defining a dynamic class or module, the constants defined within it are not kept within it's namespace, but are tied to the outer scope's namespace.
c = Class.new do
module M; end
end
#=> #<Class:0xa601300>
...
trans (Thomas Sawyer)

08/02/2011

11:14 PM Bug #3353: Building 32-bit only on Snow Leopard (dylib failed to build)
Sorry, it should be --with-arch=i386, of course. nobu (Nobuyoshi Nakada)
10:59 PM Bug #3353 (Feedback): Building 32-bit only on Snow Leopard (dylib failed to build)
Try --with-arch=x86_64 option. nobu (Nobuyoshi Nakada)
04:52 AM Bug #3353: Building 32-bit only on Snow Leopard (dylib failed to build)
This bug continues to prevent 32-bit builds on OSX Lion in 1.9.3 preview1.
It blocks use of the 32-bit version of Oracle InstantClient, which is the only InstantClient that works on OSX 10.7 Lion.
randy_parker (Randy Parker)
11:08 PM Bug #5146 (Closed): Bug in Set#== on ruby 1.9.3-preview1
It's a bug of Hash#hash and fixed at r32810. nobu (Nobuyoshi Nakada)
07:28 PM Bug #5146 (Assigned): Bug in Set#== on ruby 1.9.3-preview1
Don't worry, ruby-core is also a correct bug reporting place.
(and we can make a ticket from mail)
Your account is locked (I don't why), so I unlocked it and resent the account information
naruse (Yui NARUSE)
07:18 PM Bug #5146 (Closed): Bug in Set#== on ruby 1.9.3-preview1
Hi!

Sorry for reporting this bug here, but I can't log into redmine even after
having
requested a new password...

Set#== seems buggy in ruby 1.9.3, as illustrated by the following scenario.
I can't reproduce the bug with...
blambeau (Bernard LAMBEAU)
10:53 PM Feature #4788: resolv.rb refactoring
2011/5/27 Makoto Kishimoto <redmine@ruby-lang.org>:
>
> このようなモンキーパッチが(私のコードではありませんが)
> https://github.com/ioquatix/rubydns/blob/master/lib/rubydns/resolv.rb
> #3835 ( [ruby-core:32407] )の結果、動かなくなっていたのでパッチを検討していたわけですが、
> 結論としてr...
akr (Akira Tanaka)
10:46 PM Revision a0b9f486 (git): * encoding.c (enc_find): mistakenly remained !. [Bug #5150]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:39 PM Revision 73407963 (git): Revert "* encoding.c (enc_find): simplified with RB_TYPE_P."
This reverts commit r32817.
It has less code on the surface, but it needs more condition.
Moreover it doesn't need !.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
10:31 PM Bug #4964: open-uri failed to handle multiple "Set-Cookie" headers
I think we can fix the problem without incompatibility.
(new method to return array of field bodies for a field name.)
It needs new feature, though.
akr (Akira Tanaka)
10:26 PM Bug #5144: Remove GPL file from repository
> No, GPL is GPL.
Sure. It is just renaming the filename. Does GPL prohibit doing so?
> ...
Sorry, I cannot understand you. What do they worry?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
09:58 PM Bug #5144: Remove GPL file from repository
Yusuke Endoh wrote:
> > It is critical information when they distribute a binary for Windows.
> ...
No, GPL is GPL.
If they notice the GPL file and worry, they should learn.
naruse (Yui NARUSE)
09:45 PM Bug #5144: Remove GPL file from repository
> It is critical information when they distribute a binary for Windows.
Okay, then, how about renaming it to GPL.for_win ?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
09:32 PM Bug #5144: Remove GPL file from repository
Yusuke Endoh wrote:
> Because it is confusing.
> ...
Ruby repository includes GPL codes is correct information.
It is critical information when they distribute a binary for Windows.
naruse (Yui NARUSE)
09:22 PM Bug #5144: Remove GPL file from repository
Because it is confusing.
I think that providing too many or confusing information is equivalent to hiding the correct information.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
09:15 PM Bug #5144: Remove GPL file from repository
Yusuke Endoh wrote:
> I agree with Vit. It is actually confusing.
> ...
I can't agree.
Why do you want to hide such important thing?
naruse (Yui NARUSE)
09:10 PM Bug #5144 (Assigned): Remove GPL file from repository
I agree with Vit. It is actually confusing.
Can we move it to doc/GPL?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
09:02 PM Bug #5144: Remove GPL file from repository
Because GPL requires it:
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
naruse (Yui NARUSE)
08:51 PM Bug #5144: Remove GPL file from repository
I am sorry, but where is the consistency? In LEGAL file, there is listed myriad of licenses but GPL has dedicated file? Why not others? vo.x (Vit Ondruch)
04:28 PM Bug #5144 (Rejected): Remove GPL file from repository
As written in LEGAL, Ruby repository still includes GPL licensed files. naruse (Yui NARUSE)
04:16 PM Bug #5144 (Rejected): Remove GPL file from repository
Since Ruby 1.9.3 is going to be licensed under Ruby and BSD licenses, the GPL file should be removed from the repository to avoid confusion. vo.x (Vit Ondruch)
10:08 PM Bug #5139 (Closed): sigsegv のスタックオーバフロー
This issue was solved with changeset r32815.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* gc.c (init_heap): allocate sigaltstack after heaps are allo...
naruse (Yui NARUSE)
01:11 PM Bug #5139: sigsegv のスタックオーバフロー
試した環境は 2つあります。
A) Ubuntu 10.04.03
$ uname -srvm
Linux 2.6.32-33-generic #70-Ubuntu SMP Thu Jul 7 21:09:46 UTC 2011 i686
$ gcc --version
gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is ...
nagachika (Tomoyuki Chikanaga)
11:59 AM Bug #5139: sigsegv のスタックオーバフロー
> すみませんターゲットバージョンは 1.9.3 にも入ったと勘違いしてました。
>
> それから ALT_STACK_SIZE を (SIGSTKSZ*2) (手元だと 16KB)に戻してやりなおしてみましたところ、
> チケットの説明文に書いたような $esp のオーバフローはしていないのに vm_backtrace_each() で SEGV していたので
> ちょっと別の問題が(も?)あるようです。

中田さんの報告だとディストリ依存...
Anonymous
10:59 AM Bug #5139: sigsegv のスタックオーバフロー
すみませんターゲットバージョンは 1.9.3 にも入ったと勘違いしてました。
それから ALT_STACK_SIZE を (SIGSTKSZ*2) (手元だと 16KB)に戻してやりなおしてみましたところ、
チケットの説明文に書いたような $esp のオーバフローはしていないのに vm_backtrace_each() で SEGV していたので
ちょっと別の問題が(も?)あるようです。
nagachika (Tomoyuki Chikanaga)
10:43 AM Bug #5139: sigsegv のスタックオーバフロー
えっと、問題のコミットを入れたのはわたしなので、わたしが確認するべきと思います。
担当者を変更します。
また、問題のコミットは193ブランチには入れてないのでターゲットバージョンも変更します。
お手数をおかけして申し訳ありません。
kosaki (Motohiro KOSAKI)
10:23 AM Bug #5139 (Assigned): sigsegv のスタックオーバフロー
こちらの環境(debian, 2.6.39-2-amd64, gcc-4.6.1)では再現しないのですが、gdbの結果を見る限りではそのようですね。 nobu (Nobuyoshi Nakada)
09:57 AM Bug #5139 (Closed): sigsegv のスタックオーバフロー
現在の trunk が Linux で test_segv_test(TestRubyOptions) が Failure になります。
$ ruby -e 'Process.kill :SEGV, $$'
のように実行すると表示されるはずのバックトレースや LOADED FEATURES の情報が表示されないためです。
おそらく r32751 からだと思うのですが、手元の環境(Ubuntu 10.4, Kernel 2.6.32-33-generic...
nagachika (Tomoyuki Chikanaga)
08:50 PM Bug #5137: Ruby SVN Revision 32800: Cannot run installed ruby interpreter, Malformed Mach-o file
I also just noticed that if I use `--enable-shared` with `./configure`, the library reference to the dylib disappears in the installed version, but remains in the source tree version:
SOLAR:~ chriswhite$ otool -L ~/Source/Repository/r...
cwgem (Chris White)
08:31 PM Bug #5137: Ruby SVN Revision 32800: Cannot run installed ruby interpreter, Malformed Mach-o file
Yui NARUSE wrote:
> Try following:
> ...
I tried this and got the same result. I notice that the source tree ruby and the ruby installed in the target directory are different sizes. I don't see `strip` being used, so I'm not sure what'...
cwgem (Chris White)
03:21 PM Bug #5137: Ruby SVN Revision 32800: Cannot run installed ruby interpreter, Malformed Mach-o file
Try following:
rm -rf /Users/chriswhite/Ruby/ruby-trunk
cd <source directory>
./configure --prefix=/Users/chriswhite/Ruby/ruby-trunk --with-gcc=gcc-4.2
make all install
naruse (Yui NARUSE)
02:17 AM Bug #5137 (Rejected): Ruby SVN Revision 32800: Cannot run installed ruby interpreter, Malformed Mach-o file
I have compiled Ruby trunk, with the following configure options:
./configure --prefix=/Users/chriswhite/Ruby/ruby-trunk
And after that:
make clean && make && make install
When I attempt to run the installed version, I get th...
cwgem (Chris White)
08:47 PM Bug #5147 (Closed): mkmf should not require static library when ruby is built with --enable-shared
If libruby-static.a library is not present on the system, the following simple mkmf example fails:
$ ruby -r mkmf -e 'exit(have_func("rb_hash_foreach") ? 0 : 1)'
checking for rb_hash_foreach()... /usr/lib64/ruby/1.9.1/mkmf.rb:381:in ...
vo.x (Vit Ondruch)
08:18 PM Bug #5132 (Closed): test_parallel.rb fail when it run before 'make install'
This issue was solved with changeset r32812.
Ayumu, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/testunit/test_parallel.rb: pass "--ruby" option to
test...
sorah (Sorah Fukumori)
07:53 PM Bug #5111: test/rubygems/test_gem_installer.rb reports a failure on windows
It seems OK. Please backport it.
Thank you, Luis!
usa (Usaku NAKAMURA)
06:23 AM Bug #5111 (Assigned): test/rubygems/test_gem_installer.rb reports a failure on windows
Mr. NAKAMURA,
I've committed a fix for this, can you check out trunk?
If it works, will backport to ruby_1_9_3
Thank you.
luislavena (Luis Lavena)
06:22 AM Bug #5111 (Closed): test/rubygems/test_gem_installer.rb reports a failure on windows
This issue was solved with changeset r32804.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Correct RubyGems bin check on Windows. Bug #5111
luislavena (Luis Lavena)
03:31 AM Bug #5111: test/rubygems/test_gem_installer.rb reports a failure on windows
This problem is also imported to ruby_1_9_3 branch. usa (Usaku NAKAMURA)
05:48 PM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
Shyouhei Urabe wrote:
> Instead of avoiding exceptions I would like to suggest making exceptions lightweight.
"Expected" exceptions used for control flow make $DEBUG output *really* noisy. IO is particularly bad at this.
I like ...
regularfry (Alex Young)
01:01 PM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
Here is a new patch that uses :wait_readable and :wait_writable wycats (Yehuda Katz)
09:29 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
Yehuda Katz
Chief Technologist | Strobe
(ph) 718.877.1325


On Mon, Aug 1, 2011 at 5:08 PM, Eric Wong <normalperson@yhbt.net> wrote:

> Yehuda Katz <wycats@gmail.com> wrote:
> > On Mon, Aug 1, 2011 at 4:07 PM, Eric Wong ...
wycats (Yehuda Katz)
09:29 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
> (08/02/2011 08:48 AM), Eric Wong wrote:
> > Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
> >> (08/02/2011 08:35 AM), Eric Wong wrote:
> >>> Urabe Shyouhei <shyouhei@ruby-lang.or...
normalperson (Eric Wong)
09:29 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
2011/8/2 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> (08/02/2011 08:14 AM), Eric Wong wrote:
>> Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
>>> So when you do a read loop, nothing bothers you, as long as you use
>>> readpar...
akr (Akira Tanaka)
09:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
Yehuda Katz <wycats@gmail.com> wrote:
> On Mon, Aug 1, 2011 at 4:07 PM, Eric Wong <normalperson@yhbt.net> wrote:
> > Yehuda Katz <wycats@gmail.com> wrote:
> > > * :read_would_block
> > > * :write_would_block
> > > * :eof
> >...
normalperson (Eric Wong)
09:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
(08/02/2011 08:48 AM), Eric Wong wrote:
> Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
>> (08/02/2011 08:35 AM), Eric Wong wrote:
>>> Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
>>>> (08/02/2011 08:14 AM), Eric Wong wrote:
...
shyouhei (Shyouhei Urabe)
09:02 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
Here's an updated patch that returns nil for EOF and replaces the kgio variable with no_exceptions. The docs and tests are updated as well. wycats (Yehuda Katz)
08:53 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
> (08/02/2011 08:35 AM), Eric Wong wrote:
> > Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
> >> (08/02/2011 08:14 AM), Eric Wong wrote:
> >>> Urabe Shyouhei <shyouhei@ruby-lang.or...
normalperson (Eric Wong)
08:53 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
(08/02/2011 08:35 AM), Eric Wong wrote:
> Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
>> (08/02/2011 08:14 AM), Eric Wong wrote:
>>> Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
>>>> So when you do a read loop, nothing bo...
shyouhei (Shyouhei Urabe)
08:53 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
> (08/02/2011 08:14 AM), Eric Wong wrote:
> > Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
> >> So when you do a read loop, nothing bothers you, as long as you use
> >> readpar...
normalperson (Eric Wong)
08:53 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
(08/02/2011 08:14 AM), Eric Wong wrote:
> Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
>> So when you do a read loop, nothing bothers you, as long as you use
>> readpartial.
>
> That use of select + readpartial is unsafe...
shyouhei (Shyouhei Urabe)
08:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
In practice, it is not more verbose. Here's some example code from
net/protocol, and once try_read_nonblock is used.

Existing code:

def rbuf_fill
begin
@rbuf << @io.read_nonblock(BUFSIZE)
rescue IO::WaitReadabl...
wycats (Yehuda Katz)
08:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
Yehuda Katz
Chief Technologist | Strobe
(ph) 718.877.1325


On Mon, Aug 1, 2011 at 4:07 PM, Eric Wong <normalperson@yhbt.net> wrote:

> Yehuda Katz <wycats@gmail.com> wrote:
> > Issue #5138 has been reported by Yehuda Ka...
wycats (Yehuda Katz)
08:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
> So when you do a read loop, nothing bothers you, as long as you use
> readpartial.

That use of select + readpartial is unsafe. Spurious wakeup is a
documented behavior of t...
normalperson (Eric Wong)
08:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
Yehuda Katz <wycats@gmail.com> wrote:
> Issue #5138 has been reported by Yehuda Katz.
>
> ----------------------------------------
> Bug #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
> http://...
normalperson (Eric Wong)
08:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
(08/02/2011 07:46 AM), Aaron Patterson wrote:
> This seems very handy for read loops. Always rescuing the exception
> bothered me. I think this would be very good functionality when writing
> pure ruby servers.

Well... the ...
shyouhei (Shyouhei Urabe)
07:53 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
On Tue, Aug 02, 2011 at 07:35:15AM +0900, Yehuda Katz wrote:
>
> Issue #5138 has been reported by Yehuda Katz.
>
> ----------------------------------------
> Bug #5138: Add nonblocking IO that does not use exceptions for EOF and ...
tenderlovemaking (Aaron Patterson)
07:48 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
Instead of avoiding exceptions I would like to suggest making exceptions lightweight.
"Check those return values every time you call this function" is nothing different from C. I would write my program totally in C if I have to do th...
shyouhei (Shyouhei Urabe)
07:35 AM Feature #5138 (Closed): Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
The current Ruby I/O classes have non-blocking methods (read_nonblock and write_nonblock). These methods will never block, and if they would block, they raise an exception instead (IO::WaitReadable or IO::WaitWritable). In addition, if t... wycats (Yehuda Katz)
05:27 PM Feature #5145 (Feedback): Function extension of Array#transpose
Currently, Array#transpose doesn't transpose iliffe vector that
size of arrays in array are not same.
But iff the sequence of size is monotone nonincreasing, there is
natural transposition.
[[1, 2, 3], [4, 5], [6]].transpose
=> ...
metanest (Makoto Kishimoto)
05:09 PM Bug #4517 (Third Party's Issue): ArgumentError when sorting array of objects
nagachika (Tomoyuki Chikanaga)
04:54 PM Feature #5123: Alias Hash 1.9 as OrderedHash
As a corollary, for a few months I had one portion of my code which used Sets, and relied on the fact that Sets in 1.9 retain their order because they in turn use a Hash. The only real way I could document this requirement was to put com... adgar (Michael Edgar)
04:32 PM Feature #5123 (Assigned): Alias Hash 1.9 as OrderedHash
znz (Kazuhiro NISHIYAMA)
03:39 PM Revision ae1bccf7 (git): Refix r32815.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:29 PM Bug #5141 (Assigned): Inconsistent indentation in method call with args on multiple lines.
naruse (Yui NARUSE)
10:26 AM Bug #5141 (Closed): Inconsistent indentation in method call with args on multiple lines.
The indentation of method call with arguments spread on multiple lines is inconsistent.
belongs_to(:foo,
:class_name => 'Foo',
:foreign_key => 'foo_id')
has_many(:bar,
:class_name => 'Bar',
:...
budu (Nicolas Buduroi)
03:26 PM Revision 6f75fbce (git): * 2011-08-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:26 PM Revision 2392f452 (git): * 2011-08-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:25 PM Revision 5bd45265 (git): * lib/prettyprint.rb: update document. [ruby-core:36776]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:25 PM Revision 642458fd (git): * lib/prettyprint.rb: update document. [ruby-core:36776]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:16 PM Feature #5142: Remove ruby-mode.el from ruby's repo
引き受けてくれて直されてるんならいいんですが、直ってないチケットが溜まっているので。
そもそも emacs 側でも http://git.savannah.gnu.org/cgit/emacs.git/log/lisp/progmodes/ruby-mode.el のように開発しているので、
emacs でやれと言いたい。
miscは作りました。
naruse (Yui NARUSE)
10:56 AM Feature #5142 (Assigned): Remove ruby-mode.el from ruby's repo
このあたりのメンテナンスは中田さんが一手に引き受けてくれていたという認識なので、中田さん判断でいいと思います。
ところで、miscディレクトリ以下のissueは適切なカテゴリがないので、これを気にカテゴリ=miscを作りませんか?
kosaki (Motohiro KOSAKI)
10:46 AM Feature #5142 (Rejected): Remove ruby-mode.el from ruby's repo
ruby-mode.el は Emacs に添付されるようになりましたが、
今も Ruby のリポジトリ内に misc/ruby-mode.el として存在し続けています。
マスタが Ruby と Emacs の2つあるのも良くないですし、放置されているチケットも多いので、
Ruby のリポジトリからは削除してしまいませんか。
なお、ruby-mode.el 以外の *.el についてはこのチケットの管轄外とします。
naruse (Yui NARUSE)
02:50 PM Revision 048202f4 (git): * encoding.c (enc_find): simplified with RB_TYPE_P.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:27 PM Revision 48bc63fa (git): Fix r32811: add UNSPECIFIED_ENCODING case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:08 PM Revision 027a15e9 (git): * gc.c (init_heap): allocate sigaltstack after heaps are allocated.
[ruby-dev:44315] [Bug #5139]
* vm.c (thread_free): use free because objspace is not ready.
* vm.c (th_init): use malloc because objspace is not ready.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32815 b2dd03c8-39d4-4d8f-98ff-823...
naruse (Yui NARUSE)
12:59 PM Bug #5143 (Closed): include not properly registering modular methods
Ran into a bug when using a gem called FactoryGirl. The bug has to do with how 1.9.3 handles handles module inclusion, scope, and method_missing.
Here's a gist: https://gist.github.com/1119516 Where method missing is called, it's b...
chaffeqa (Quinn Chaffee)
12:19 PM Revision 2cf05e58 (git): Remove an obsolete file, ToDo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:42 AM Bug #5136 (Closed): :"!".inspect の結果が1.9.3devと1.9.2とでは異なる
This issue was solved with changeset r32809.
Ayumu, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y (rb_enc_symname2_p): :! is valid symbol. [Bug #5136]
nobu (Nobuyoshi Nakada)
01:54 AM Bug #5136 (Closed): :"!".inspect の結果が1.9.3devと1.9.2とでは異なる
=begin
(({:"!".inspect})) とか (({:!.inspect})) の結果が1.9.3devと1.9.2 では異なるようです。
$ bin/ruby -v -e 'puts :!.inspect'
ruby 1.9.3dev (2011-08-01 revision 32798) [x86_64-darwin10.8.0]
:"!"
$ ruby -v -e 'puts :"!".inspect'
ruby 1.9.2p...
ayumin (Ayumu AIZAWA)
11:26 AM Revision 2fb749fe (git): * test/testunit/test_parallel.rb: pass "--ruby" option to
test/testunit/tests_for_parallel/runner.rb. [Bug #5132] [ruby-dev:44303]
Backported from trunk r32812.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sorah (Sorah Fukumori)
11:18 AM Revision 9864da84 (git): * test/testunit/test_parallel.rb: pass "--ruby" option to
test/testunit/tests_for_parallel/runner.rb. [Bug #5132] [ruby-dev:44303]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sorah (Sorah Fukumori)
10:48 AM Bug #5140 (Assigned): Emacs ruby-mode major indentation bug with Ruby 1.9
naruse (Yui NARUSE)
10:11 AM Bug #5140 (Closed): Emacs ruby-mode major indentation bug with Ruby 1.9
When spreading the arguments of a method call on multiple lines using the new hash syntax from Ruby 1.9, the level of indentation is retained even after the closing parenthesis. Example:
belongs_to(:foo,
class_name: 'Foo'...
budu (Nicolas Buduroi)
07:35 AM Revision faf295f1 (git): * encoding.c (str_to_encoding): rename from to_encoding and
use str_to_encindex.
* encoding.c (str_to_encindex): split from to_encoding.
* encoding.c (rb_to_encoding): use str_to_encoding.
* encoding.c (rb_obj_encoding): don't bypass rb_encoding*.
If it uses rb_encoding*, it bypass encindex....
naruse (Yui NARUSE)
07:23 AM Feature #5101: allow optional timeout for TCPSocket.new
2011/8/2 Eric Wong <normalperson@yhbt.net>:

> I only want this timeout to affect connect() time, DNS timeout can
> be separate (Feature #5100). I don't know what to do about multiple
> IP addresses, it may be better on a case-...
akr (Akira Tanaka)
05:29 AM Feature #5101: allow optional timeout for TCPSocket.new
Tanaka Akira <akr@fsij.org> wrote:
> 2011/7/30 Tanaka Akira <akr@fsij.org>:
>
> > I expected such code in client socket library because
> > socket library doesn't provide timeout feature (and Timeout exception class).
>
> ...
normalperson (Eric Wong)
05:12 AM Feature #5097: Supported platforms of Ruby 1.9.3
> But mrkn, who has both 10.6 and 10.5 and is already a committer, comes
> ...
Excellent! I thought it was kind of strange that we'd be looking for someone on OSX...
I'll give them what help I can. :)
steveklabnik (Steve Klabnik)
03:03 AM Revision 0d6ef941 (git): * hash.c (recursive_hash): hash value of emptied hash should be
equal to an empty hash. [ruby-core:38650]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:03 AM Revision 86bbfdad (git): * hash.c (recursive_hash): hash value of emptied hash should be
equal to an empty hash. [ruby-core:38650]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:42 AM Revision ceb5e60c (git): * parse.y (rb_enc_symname2_p): :! is valid symbol. [Bug #5136]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:42 AM Revision 48fd404f (git): * parse.y (rb_enc_symname2_p): :! is valid symbol. [Bug #5136]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:39 AM Revision a781b402 (git): Revert r32803.
Do you know "code freeze"?
Anyway this breaks make rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:15 AM Revision f1a7dc3f (git): * property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:15 AM Revision c2dbf585 (git): * property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:07 AM Feature #4845: Provide Class#cb_object_instantiated_from_literal(object)
=begin
Follow-up issue #4893
=end
lazaridis.com (Lazaridis Ilias)
02:06 AM Feature #4893: Literal Instantiation breaks Object Model
Lazaridis Ilias wrote:
> Nobuyoshi Nakada wrote:
> ...
Can please someone with access reopen the issue?
lazaridis.com (Lazaridis Ilias)

08/01/2011

11:40 PM Bug #5132 (Assigned): test_parallel.rb fail when it run before 'make install'
Jeremy Evans も同じ話を [ruby-core:38572] で指摘していますね。
というわけでそらさんよろしく。
naruse (Yui NARUSE)
07:21 PM Bug #5132: test_parallel.rb fail when it run before 'make install'
=begin
すみません、大事な情報が漏れていました。
Makefileを作る際に、./configure --prefix=/home/ayumin/ruby のようにインストール先を指定しています。
エラーのログを消すために以下のようなパッチをあてて実行すると

$ git diff
diff --git a/lib/test/unit.rb b/lib/test/unit.rb
index 09708d1..33301f9 100644
...
ayumin (Ayumu AIZAWA)
06:28 PM Bug #5132 (Closed): test_parallel.rb fail when it run before 'make install'
make install を実行する前にmake test-all をすると、test_parallel.rb が失敗します。
trunkとruby_1_9_3 で再現することまで確認しました。
$ uname -a
Linux Ubuntu11 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:07:17 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
$ make test-a...
ayumin (Ayumu AIZAWA)
11:34 PM Feature #5133: Array#unzip as an alias of Array#transpose
「zip が transpose の逆になっているか」
を確認せず投稿したことがバレてしまいましたね。
私が欲しかったのは unzip のような zip の逆っぽいイメージの名前が付いている、
zip する前の配列のセットが返ってくるメソッドです。
きしもとさんの
> transpose は自己双対で、zip と双対というわけでもないので、
> ...
という意見については、確かにその通りだと思いましたので、
エイリアスではない方法で導入できるなら...
mrkn (Kenta Murata)
10:53 PM Feature #5133: Array#unzip as an alias of Array#transpose
(2011/08/01 20:54), KISHIMOTO, Makoto wrote:
> transpose は自己双対で、zip と双対というわけでもないので、
> エイリアスには反対、かなぁ。
> # [[1, 2, 3], [4, 5, 6], [7, 8, 9]].transpose に対応するものって
> # zip で簡単にできましたっけ?

irb(main):001:0> a = [[1, 2, 3], [4, 5, 6],...
naruse (Yui NARUSE)
08:59 PM Feature #5133: Array#unzip as an alias of Array#transpose
きしもとです

[1, 2, 3, 4] と ["a", "b", "c", "d"] から、
[[1, "a"], [2, "b"], [3, "c"], [4, "d"]] を作るのが zip で、

irb> [1, 2, 3, 4].zip ["a", "b", "c", "d"]
=> [[1, "a"], [2, "b"], [3, "c"], [4, "d"]]

[[1, "a"], [2, "b"], [3, "c"]...
metanest (Makoto Kishimoto)
07:09 PM Feature #5133: Array#unzip as an alias of Array#transpose
逆とはどういう動作のことを言っていますか?
Array#zip が複数の配列から1つの配列を返す(かブロックを受け取ると別の動作)で、
Array#transpose が1つの配列から1つの配列を返す(ブロックは受け取らない)ということから
逆という印象は受けなかったので、逆というだけの説明だとよくわかりませんでした。
znz (Kazuhiro NISHIYAMA)
06:30 PM Feature #5133 (Rejected): Array#unzip as an alias of Array#transpose
Array#zip の逆は Array#transpose なんですけど、
この対応関係が非常に分かり難いなと思いました。
Haskell には zip の逆をやる関数として unzip が用意されています。
unzip という名前は、「zip の逆をやりたい」と思ったときに
(transpose よりは) 思い付きやすい名前だと思います。
ということで Array#unzip を Array#transpose のエイリアスとして
導入してはどうで...
mrkn (Kenta Murata)
11:26 PM Bug #5135 (Closed): Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
It would be nice if all test are green before release.
https://gist.github.com/1118196
vo.x (Vit Ondruch)
10:50 PM Bug #4457: Time#strftime で %z 指定子などに大きな幅を指定した際の不具合
とりあえずいいような気がします。
しかし、考えてみると strftime の API が腐っているという問題があるわけで、
そして、Ruby 1.9 では OS の strftime を使っていないのだから、
その API につきあう必要はないわけです。
というわけで、バッファが足りなかったときには必要な長さを返すようにするとか
まともな API を用意して使うのがいい気がしますね。
akr (Akira Tanaka)
10:35 PM Revision fa25f260 (git): * test/net/http/test_http.rb (TestNetHTTP_version_1_1_methods#test_timeout_during_HTTP_session):
If you connect to localhost, you should listen localhost.
* test/net/http/test_https.rb (TestNetHTTPS#test_timeout_during_SSL_handshake):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32806 b2dd03c8-39d4-4d8f-98ff-823fe69...
shyouhei (Shyouhei Urabe)
10:23 PM Feature #5101: allow optional timeout for TCPSocket.new
2011/7/30 Tanaka Akira <akr@fsij.org>:

> I expected such code in client socket library because
> socket library doesn't provide timeout feature (and Timeout exception class).

On second thought, Errno::ETIMEDOUT can be a cand...
akr (Akira Tanaka)
10:18 PM Feature #859: open-uri doesn't allow redirection to https
I'd like generic solution. Especially because open-uri doesn't provide a way to specify headers for each request for redirection. akr (Akira Tanaka)
09:22 PM Revision 35186277 (git): * 2011-08-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:22 PM Revision 9e49d29e (git): Correct RubyGems bin check on Windows. Bug #5111
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e luislavena (Luis Lavena)
06:57 PM Revision 8e627bc1 (git): * lib/rdoc: Update to 3.9.1. Fixes === lines in verbatim sections.
Fixes :nodoc: on class aliases. Fixes :stopdoc: creating references
to Object. Fixes spacing when class comments are merged in ri.
Fixes `ri []` crash. Fixes bug report URL when rdoc crashes. Adds
:doc: ...
drbrain (Eric Hodel)
06:27 PM Revision e2c24e16 (git): * 2011-08-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:27 PM Revision c2c6dc8d (git): * test/rake/test_rake_directory_task.rb (TestRakeDirectoryTask#
test_directory_win32): fixed wrong test.
backported r32670 from trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:53 PM Feature #5097: Supported platforms of Ruby 1.9.3
2011/7/27 Luis Lavena <luislavena@gmail.com>:
> On Mon, Jul 25, 2011 at 11:52 PM, Yui NARUSE <naruse@airemix.jp> wrote:
> ...
nobu says he is not the maintainer of mingw.
Will you be the maitainer of mingw32 and mingw-w64?
naruse (Yui NARUSE)
05:53 PM Feature #5097: Supported platforms of Ruby 1.9.3
2011/7/26 Steve Klabnik <steve@steveklabnik.com>:
>
> Issue #5097 has been updated by Steve Klabnik.
>
>
> I would like to help for OSX > 10.6, and maybe 10.5 if I can get a machine. I'm not exactly sure what 'maintainer's responsi...
naruse (Yui NARUSE)
03:29 AM Feature #5097: Supported platforms of Ruby 1.9.3
Dne 26.7.2011 12:45, KOSAKI Motohiro napsal(a):
> 2011/7/26 Eric Wong<normalperson@yhbt.net>:
>> Yui NARUSE<naruse@airemix.jp> wrote:
>>> If you want to support a platform, please declare.
>>> But when a platform dependent bug ...
Anonymous
03:45 PM Bug #5114 (Closed): rake's tests imply the binary name of ruby
This issue was solved with changeset r32797.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/rake/test_rake_functional.rb: Don't assume the binary name...
drbrain (Eric Hodel)
02:23 PM Feature #5128: 日本語ドキュメントをUTF-8に
(2011/08/01 13:28), Nobuyoshi Nakada wrote:
> なかだです。
>
> At Mon, 1 Aug 2011 12:09:38 +0900,
> Urabe Shyouhei wrote in [ruby-dev:44295]:
>> (08/01/2011 11:52 AM), Nobuyoshi Nakada wrote:
>>> むしろ、メタ情報を設定しているにもかかわらずちゃんと表示できないコ...
Anonymous
01:59 PM Feature #5128: 日本語ドキュメントをUTF-8に
あいざわです

とりあえず、トップレベルにあるファイルとdoc/ 以下についてUTF-8に変更したものでpull request を更新しました。
https://github.com/ruby/ruby/pull/38

その他のファイルはどうしましょう。
時間があるときにテストを回しながら、各メンテナーの方々にきいてみて、影響ないモノについてはUTF-8にしていく
作業を引き取っても良いです。

> ChangeLog について...
ayumin (Ayumu AIZAWA)
01:53 PM Feature #5128: 日本語ドキュメントをUTF-8に
2011年8月1日12:51 Ayumu Aizawa <ayumu.aizawa@gmail.com>:
> 文字化けは残念だなぁとおもって軽い気持ちで送ってみたのですが、改めて調べてみると nkf --guess で非ASCIIと
> 判定されるファイルがたくさんありますね。なかにはテストの都合などで敢えてそうしているものもあるんでしょうか。。。
>
> 個人的には明らかにドキュメントであるようなファイルについてはUTF-8に統一で良いとおもってい...
naruse (Yui NARUSE)
01:29 PM Feature #5128: 日本語ドキュメントをUTF-8に
なかだです。

At Mon, 1 Aug 2011 12:09:38 +0900,
Urabe Shyouhei wrote in [ruby-dev:44295]:
> (08/01/2011 11:52 AM), Nobuyoshi Nakada wrote:
> > むしろ、メタ情報を設定しているにもかかわらずちゃんと表示できないコード
> > ブラウザのバグでしょう。本末転倒だと思います。
>
> redmineに関してはバグ...
nobu (Nobuyoshi Nakada)
01:29 PM Feature #5128: 日本語ドキュメントをUTF-8に
なかだです。

At Mon, 1 Aug 2011 12:09:38 +0900,
Urabe Shyouhei wrote in [ruby-dev:44295]:
> (08/01/2011 11:52 AM), Nobuyoshi Nakada wrote:
> > むしろ、メタ情報を設定しているにもかかわらずちゃんと表示できないコード
> > ブラウザのバグでしょう。本末転倒だと思います。
>
> redmineに関してはバグ...
nobu (Nobuyoshi Nakada)
12:53 PM Feature #5128: 日本語ドキュメントをUTF-8に
pull request を送ったあいざわです。

文字化けは残念だなぁとおもって軽い気持ちで送ってみたのですが、改めて調べてみると nkf --guess で非ASCIIと
判定されるファイルがたくさんありますね。なかにはテストの都合などで敢えてそうしているものもあるんでしょうか。。。

個人的には明らかにドキュメントであるようなファイルについてはUTF-8に統一で良いとおもっています。

以下調査結果です。

- 非ASCII、...
ayumin (Ayumu AIZAWA)
12:53 PM Feature #5128: 日本語ドキュメントをUTF-8に
On 2011/08/01 12:04, KOSAKI Motohiro wrote:

> 現実問題としてASCIIの範囲で自分の名前を記述できない方がヨーロッパにもたくさんいるので
> これを機に ChangeLog等も UTF-8 で記述するというルールにしてしまってはどうでしょうか。
> パッチをContribute してくれたときの記載する謝辞は名前を省略・変形しないというのは
> それなりに一般的なマナーだと思います。
>
> ...
duerst (Martin Dürst)
12:23 PM Feature #5128: 日本語ドキュメントをUTF-8に
2011年8月1日12:04 KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>:
> 現実問題としてASCIIの範囲で自分の名前を記述できない方がヨーロッパにもたくさんいるので
> これを機に ChangeLog等も UTF-8 で記述するというルールにしてしまってはどうでしょうか。
> パッチをContribute してくれたときの記載する謝辞は名前を省略・変形しないというのは
> それなりに一般的なマナーだと...
naruse (Yui NARUSE)
12:23 PM Feature #5128: 日本語ドキュメントをUTF-8に
(08/01/2011 11:52 AM), Nobuyoshi Nakada wrote:
> むしろ、メタ情報を設定しているにもかかわらずちゃんと表示できないコード
> ブラウザのバグでしょう。本末転倒だと思います。

redmineに関してはバグと呼ぶにやぶさかではありませんがgitにはメ
タ情報(という概念)がないわけで、githubをバグ呼ばわりするのは濡
れ衣といわざるをえません。
shyouhei (Shyouhei Urabe)
12:23 PM Feature #5128: 日本語ドキュメントをUTF-8に
(2011/08/01 11:10), Kenta Murata wrote:
> むらたです。
>
> On Monday, August 1, 2011 at 10:39 , Shyouhei Urabe wrote:
>> pull requestが来ています。
>>
>> https://github.com/ruby/ruby/pull/38
>>
>> 個人的にEUCに思い入れはない(すくなくともUTF8と同程...
Anonymous
11:53 AM Feature #5128: 日本語ドキュメントをUTF-8に
提供者によると「redmine.ruby-lang の
リポジトリやGithubのコードブラウザで表示すると文字化けして見える」。
UTF-8 で直るのなら是非適応していただきたいです。

「なお、このパッチを適用する場合は、同時にsvnのメタ情報の方も変更の必要
があります。」とも書いてありますが、git にはそのようなメタ情報はないで
しょうか。

よろしくお願いします。 Martin.

On 2011/08/0...
duerst (Martin Dürst)
11:52 AM Feature #5128: 日本語ドキュメントをUTF-8に
> Change encoding from EUC-JP to UTF-8.
> ...
むしろ、メタ情報を設定しているにもかかわらずちゃんと表示できないコード
ブラウザのバグでしょう。本末転倒だと思います。
nobu (Nobuyoshi Nakada)
11:37 AM Feature #5128: 日本語ドキュメントをUTF-8に
変更自体は賛成です。
pull request のパッチをみるとトップの *.ja だけですが、
変更するなら doc/*.ja なども変更してしまって良いのではないでしょうか。
% git ls-files|fgrep .ja|xargs nkf --guess|grep EUC
README.EXT.ja:EUC-JP
README.ja:EUC-JP
doc/etc.rd.ja:EUC-JP
doc/forwardable.rd.ja:EUC...
znz (Kazuhiro NISHIYAMA)
11:23 AM Feature #5128: 日本語ドキュメントをUTF-8に
むらたです。

On Monday, August 1, 2011 at 10:39 , Shyouhei Urabe wrote:
> pull requestが来ています。
>
> https://github.com/ruby/ruby/pull/38
>
> 個人的にEUCに思い入れはない(すくなくともUTF8と同程度には)ので、まあ、いいのではないかという気になっていますが、どうしますか。

我々日本人は EUC-JP でも U...
mrkn (Kenta Murata)
10:39 AM Feature #5128 (Closed): 日本語ドキュメントをUTF-8に
pull requestが来ています。
https://github.com/ruby/ruby/pull/38
個人的にEUCに思い入れはない(すくなくともUTF8と同程度には)ので、まあ、いいのではないかという気になっていますが、どうしますか。
shyouhei (Shyouhei Urabe)
02:23 PM Feature #5120: String#split needs to be logical
On Aug 1, 2011, at 12:37 AM, Kirill Radzikhovskyy wrote:
> I also find this behavior confusing
> mainly because:
>
> ruby-1.9.2-p290 :001 > 'a,b,,'.split ','
>
Anonymous
01:37 PM Feature #5120: String#split needs to be logical
Hi,
I also find this behavior confusing
mainly because:
ruby-1.9.2-p290 :001 > 'a,b,,'.split ','
=> ["a", "b"]
ruby-1.9.2-p290 :002 > ',,a,b'.split ','
=> ["", "", "a", "b"]
kirillrdy (Kirill Radzikhovskyy)
01:57 PM Feature #5129 (Assigned): Create a core class "FileArray" and make "ARGF" its instance
I suggest to create a class "`FileArray`" whose instance behaves just like `ARGF` do.
And I think `ARGF` should be an instance of `FileArray`. Now when I "`p ARGF.class`", I get "`ARGF.class`", so `ARGF` is an instance of `ARGF.class`, ...
yimutang (Joey Zhou)
01:18 PM Revision 4d9c0998 (git): * ChangeLog: fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
12:10 PM Bug #5126 (Closed): Unicode character classes interpolated into regex throws exception
This issue was solved with changeset r32791.
Xavier, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* insns.def (concatstrings): don't use initial ASCII-8BIT strin...
naruse (Yui NARUSE)
09:31 AM Bug #5126 (Closed): Unicode character classes interpolated into regex throws exception
The following script runs under 1.9.2-p290:
# encoding: UTF-8
letter = '\p{L}'
atext = "[#{letter}]"
/#{atext}/
Under 1.9.3-preview1 it raises an exception:
test.rb:6:in `<main>': invalid character propert...
xaviershay (Xavier Shay)
11:23 AM Revision b8d546db (git): * test/ruby/test_process.rb (TestProcess#windows?): new method.
* test/ruby/test_process.rb (TestProcess#*): use above method.
* test/ruby/test_process.rb (TestProcess#test_execopts_redirect):
windows doesn't support FD_CLOEXEC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32799 b2dd03c8-39...
U.Nakamura
10:12 AM Bug #5127: ruby 1.9.3 prev1 で Array#[]=( Array.new ) が1.9.2より2倍遅い
Linux(Ubuntu 10.4 gcc 4.4.3) でも試してみたところやはり倍近く時間がかかっていました。1.9.3 ではなく trunk とですが。
$ ruby-1.9.2 bm_array.rb
user system total real
Array.new 2.340000 0.070000 2.410000 ( 2....
nagachika (Tomoyuki Chikanaga)
09:43 AM Bug #5127: ruby 1.9.3 prev1 で Array#[]=( Array.new ) が1.9.2より2倍遅い
重要な問題だと思いますので、チケット化しました。
kosaki (Motohiro KOSAKI)
09:42 AM Bug #5127 (Closed): ruby 1.9.3 prev1 で Array#[]=( Array.new ) が1.9.2より2倍遅い
Arrayオブジェクトを Array#[]= で設定する場合に、
ruby 1.9.3 prev1 が 1.9.2 p290 と比較して2倍ほど遅くなっているようなので
ご報告いたします。

(既知の現象であれば、申し訳ありませんがスルーしてください)

----
require 'benchmark'

Benchmark.bm(22) do |x|
x.report "Array.new" do
1_000_...
Anonymous
08:09 AM Bug #5125 (Closed): obj.send() documentation issue
Filing this as a bug per request of Eric Hodel on the ruby-talk mailing list. Excerpt from the mailing list post ( http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/386033 ):
================
obj.send(symbol [, args...]) ob...
cwgem (Chris White)
06:47 AM Revision 0da19771 (git): * test/rake/test_rake_functional.rb: Don't assume the binary name of
ruby is "ruby". [Ruby 1.9 - Bug #5114]
* test/rake/helper.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
06:45 AM Revision f209dc72 (git): * test/rake/test_rake_functional.rb: Don't assume the binary name of
ruby is "ruby". [Ruby 1.9 - Bug #5114]
* test/rake/helper.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
06:36 AM Revision 6851f29b (git): * test/io/console/test_io_console.rb (TestIO_Console#test_sync):
Skip when PTY allocation failed (that's not our failt).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
06:22 AM Revision 3237f7dc (git): * test/xmlrpc/test_webrick_server.rb (Test_Webrick#setup_http_server):
XMLRPC::Client.new3(), when called without host: argument, tries
to connect to a host where "localhost" resolves to. On the
other hand a WEBrick::HTTPServer.new(), when called without
BindAddress: argument, tries to li...
shyouhei (Shyouhei Urabe)
05:25 AM Revision a429cafc (git): * lib/rdoc.rb: Import RDoc 3.9.1. Fixes bugs in the RDoc::Markup
parser.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
03:21 AM Revision 7d2efc1f (git): remove duplicated entry
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:10 AM Revision d18f05af (git): * 2011-08-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:10 AM Revision db42bd04 (git): * insns.def (concatstrings): don't use initial ASCII-8BIT string.
[ruby-core:38635] [Bug #5126]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:54 AM Bug #5110 (Feedback): Ruby SSL error - sslv3 alert unexpected message
In my opinion Ruby reacts normal here. The OpenSSL::SSL::SSLContext is allocated using "SSLv23" by default for maximum compatibility. Here is what the official doc says:
SSLv23_method:
A TLS/SSL connection established with these method...
MartinBosslet (Martin Bosslet)

07/31/2011

11:16 PM Feature #4871: envのコンパクト化
辻本です。
--gc-stressオプションをつけた状態でtest-allを実行しましたが、
このパッチに起因するテストの失敗はなかったのでtrunkにコミットしました。
本格的な見直しは改めてということでお願いできればと思います。
ktsj (Kazuki Tsujimoto)
11:00 PM Feature #4871 (Closed): envのコンパクト化
This issue was solved with changeset r32781.
Kazuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm.c (vm_make_env_each): don't save prev env value.
It is no ...
ktsj (Kazuki Tsujimoto)
08:22 PM Revision c6fcfd6d (git): merge revision(s) 32582:
* cont.c (cont_save_thread): fix missing semicolon.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:29 PM Bug #5122: make test fails on OS X 10.7 (11A511)
It, worked, thanks!
Had to do a "make distclean" first.
filipp (Filipp Lepalaan)
03:46 PM Bug #5122 (Closed): make test fails on OS X 10.7 (11A511)
Run configure with --with-gcc=gcc-4.2. naruse (Yui NARUSE)
03:10 AM Bug #5122 (Closed): make test fails on OS X 10.7 (11A511)
Trying to install ruby from source (ruby 1.9.2p290), I get the following output when running "make test":
flips:ruby-1.9.2-p290 filipp$ make test
sample/test.rb:assignment ..............................................................
filipp (Filipp Lepalaan)
04:19 PM Feature #5123 (Rejected): Alias Hash 1.9 as OrderedHash
I read that it was a controversial decision to make Hash in Ruby 1.9 ordered.
It is not clear if the present implementation is the best possible.
I would like to express my thought.
It would be nice if the ordered Hash in Ruby 1.9 w...
alexeymuranov (Alexey Muranov)
03:49 PM Bug #4501 (Closed): 1.9.2-p180 fails to compile on OSX 10.7
> Wayne
Run rvm install -C --with-gcc-4.2
> ...
The clang which is bundled with Xcode 4.1/4.2 beta is bit old and doesn't support ruby.
So don't use it.
But current svn version of clang supports ruby.
naruse (Yui NARUSE)
03:24 PM Feature #5120: String#split needs to be logical
I understand why
```ruby
",,1".split(',') # => ["","","1"]
```
and why
```ruby
".5".split('.') # => ["","5"]
```
But then `",1,".split(',')` should return `["", "1", ""]`.
It is not clear why one needs to do it l...
alexeymuranov (Alexey Muranov)
02:23 PM Feature #5120: String#split needs to be logical
On 2011/07/31 1:30, Yusuke ENDOH wrote:

> So, what does "aab".split('a') return?
> I think that only ["aab"] meets the condition.
> But it is also surprising to me.

It's much easier to think about if you replace 'a' with '...
duerst (Martin Dürst)
06:17 AM Feature #5120: String#split needs to be logical
It is still not very clear why
"a".split('',-1) # => ["a", ""]
and not `["", "a", ""]` or `["a"]`,
(and why `"".split('',-1) # => []`)
Alexey.
alexeymuranov (Alexey Muranov)
06:13 AM Feature #5120: String#split needs to be logical
Thank you for the explanation.
Yes, Yusuke, my definition was wrong, i thought about "a maximal array of non-empty strings whose members don't contain any matching substrings".
Gary, I didn't read the documentation carefully, so i di...
alexeymuranov (Alexey Muranov)
04:23 AM Feature #5120: String#split needs to be logical
On Jul 30, 2011, at 12:12 PM, Alexey Muranov wrote:
> Here are examples showing a surprising and inconsistent behavior of String#split method:

With only one argument, split discards trailing empty fields.

> "aa".split('a') # => ...
Anonymous
01:53 AM Feature #5120: String#split needs to be logical
2011/7/31 Yusuke ENDOH <mame@tsg.ne.jp>:
> Hello,
>
> 2011/7/31 Alexey Muranov <muranov@math.univ-toulouse.fr>:
>>  str1.split(str2) returns a maximal array of non-empty substrings of str1 which can be concatenated with copies of s...
mame (Yusuke Endoh)
01:53 AM Feature #5120: String#split needs to be logical
Hello,

2011/7/31 Alexey Muranov <muranov@math.univ-toulouse.fr>:
>  str1.split(str2) returns a maximal array of non-empty substrings of str1 which can be concatenated with copies of str2 to form str1.

So, what does "aab".split('...
mame (Yusuke Endoh)
01:12 AM Feature #5120 (Rejected): String#split needs to be logical
Here are examples showing a surprising and inconsistent behavior of `String#split` method:
```ruby
"aa".split('a') # => []
"aab".split('a') # => ["", "", "b"]
"aaa".split('aa') # => ["", "a"]
"aaaa".split('aa') # => []
"aa...
alexeymuranov (Alexey Muranov)
02:17 PM Revision 6280ce3b (git): Forward-ports r32779 from branches/ruby_1_9_3 to trunk. The original commit
by ktsj.
--
configure.in: fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:17 PM Revision ddeccd20 (git): Forward-ports r32780 from branches/ruby_1_9_3 to trunk.
--
* enc/Makefile.in (ECHO1): Same as the recent fix in common.mk.
":" in a make variable replacement cause a syntax error with
/usr/ccs/bin/make on Solaris. Uses $(NULLCMD) instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
yugui (Yuki Sonoda)
02:17 PM Revision 4270dbe6 (git): Forward-ports r32777 from branches/ruby_1_9_3 to trunk.
--
* complex.c (f_signbit): gcc4 on Solaris DOES have signbit but does
not have it on header.
* math.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:17 PM Revision 05ec8392 (git): Forward-ports r32776 from branches/ruby_1_9_3 to trunk.
--
* common.mk (node_name.inc): Use $(Q) for consistency.
* Makefile.in (INSNS): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:17 PM Revision 2dafa218 (git): Forward-ports r32778 from branches/ruby_1_9_3 to trunk.
--
* lib/mkmf.rb (configuration:ECHO1): Same as the recent fix in
common.mk.
":" in a make variable replacement cause a syntax error with
/usr/ccs/bin/make on Solaris. Uses $(NULLCMD) instead.
git-svn-id: svn+ssh://ci.ruby-lang.o...
yugui (Yuki Sonoda)
02:17 PM Revision f037909a (git): Forward-ports r32775 from branches/ruby_1_9_3 to trunk.
--
* common.mk (ECHO1): nmake does not allow parenthesis in make variable
replacement.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:11 PM Revision 3441301d (git): * vm.c (check_env): print debug messages to stderr.
[Feature #4871] [ruby-dev:43743]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
02:00 PM Revision 172ac007 (git): * vm.c (vm_make_env_each): don't save prev env value.
It is no longer used. [Feature #4871] [ruby-dev:43743]
* vm.c (check_env): changed accordingly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
01:59 PM Revision 3c20af1d (git): * enc/Makefile.in (ECHO1): Same as the recent fix in common.mk.
":" in a make variable replacement cause a syntax error with
/usr/ccs/bin/make on Solaris. Uses $(NULLCMD) instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:45 PM Revision 100f2e67 (git): * configure.in: fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
12:21 PM Revision d2b78e79 (git): * lib/mkmf.rb (configuration:ECHO1): Same as the recent fix in
common.mk.
":" in a make variable replacement cause a syntax error with
/usr/ccs/bin/make on Solaris. Uses $(NULLCMD) instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:21 PM Revision 10350735 (git): * complex.c (f_signbit): gcc4 on Solaris DOES have signbit but does
not have it on header.
* math.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:18 PM Feature #5054 (Rejected): Compress a sequence of ends
sorah (Sorah Fukumori)
12:10 PM Revision 7e50bb96 (git): * common.mk (node_name.inc): Use $(Q) for consistency.
* Makefile.in (INSNS): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
11:59 AM Bug #5083: cref/cbase取得時にSEGV
trunkと1.9.3にコミットしました。 ktsj (Kazuki Tsujimoto)
11:32 AM Bug #5083 (Closed): cref/cbase取得時にSEGV
This issue was solved with changeset r32768.
Kazuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm.c: check if cfp is valid. [Bug #5083] [ruby-dev:44208]
Anonymous
11:40 AM Revision c06bef87 (git): * common.mk (ECHO1): nmake does not allow parenthesis in make variable
replacement.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
11:31 AM Revision 53d3b132 (git): Forwardports r32772 and r32773 from branches/ruby_1_9_3 to trunk.
* common.mk (ECHO1): ":" in a make variable replacement cause a syntax
error with /usr/ccs/bin/make on Solaris. Uses $(NULLCMD) instead.
* configure.in (NULLCMD): new check.
* Makefile.in (NULLCMD): Reflects checking in configure.
...
yugui (Yuki Sonoda)
11:30 AM Revision 49828146 (git): Fixes a wrong part in the previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
11:27 AM Revision 2e3be737 (git): * common.mk (ECHO1): ":" in a make variable replacement cause a syntax
error with /usr/ccs/bin/make on Solaris. Uses $(NULLCMD) instead.
* configure.in (NULLCMD): new check.
* Makefile.in (NULLCMD): Reflects checking in configure.
* win32/Makefile.sub (NULLCMD): new assignment.
git-svn-id: svn+ssh://ci...
yugui (Yuki Sonoda)
10:58 AM Bug #2729: `unexpected break' occurs when a proc is called in ensure
A patch fixing the problem is attached, but it might be only a workaroud. ktsj (Kazuki Tsujimoto)
09:59 AM Revision f46cff64 (git): * io.c (rb_pipe): pipe on cygwin can succeed half but fail
half.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:48 AM Revision b1b58cfd (git): * property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:57 AM Revision 31013d0f (git): * backport r32768 from trunk.
* vm.c: check if cfp is valid. [Bug #5083] [ruby-dev:44208]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
02:32 AM Revision 70189a8c (git): * vm.c: check if cfp is valid. [Bug #5083] [ruby-dev:44208]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
12:19 AM Revision 89b601d1 (git): * lib/rdoc: Update to RDoc 3.9. Fixed `ri []`, stopdoc creating an
object reference, nodoc for class aliases, verbatim === lines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)

07/30/2011

11:14 PM Bug #5119 (Closed): Infinite Loop with IO#pos and IO#each_byte
This issue was solved with changeset r32758.
Max, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c (rb_io_each_byte): rbuf can be refreshed during yield.
[B...
nobu (Nobuyoshi Nakada)
10:20 PM Bug #5119 (Closed): Infinite Loop with IO#pos and IO#each_byte
f = File.new(ARGV.shift)
i = 0
f.each_byte {puts "%08X" % (f.pos - 1) if (i += 1) % 16 == 1}
f.close
This code produces the expected output but never finishes the each_byte loop, instead hanging with 100% CPU usage.
The proc...
silverhammermba (Max Anselm)
10:41 PM Bug #4456 (Closed): Time#strftime で %F 指定子に大きな幅を指定した際の不具合
This issue was solved with changeset r32757.
tadayoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* strftime.c (NEEDS): avoid SEGV due to integer overflow in ...
ngoto (Naohisa Goto)
04:50 PM Bug #4456: Time#strftime で %F 指定子に大きな幅を指定した際の不具合
Motohiro KOSAKI wrote:
> 一週間たちましたが、こちら進捗はいかがでしょうか
無事にコミット権をもらえましたので、今日中にはtrunkとruby_1_9_3両方にコミットします。
ngoto (Naohisa Goto)
01:52 PM Bug #4456: Time#strftime で %F 指定子に大きな幅を指定した際の不具合
一週間たちましたが、こちら進捗はいかがでしょうか kosaki (Motohiro KOSAKI)
04:31 PM Revision 4ac69a57 (git): * io.c (rb_io_each_byte): remove unused variable e.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:26 PM Revision 1c8fd014 (git): * 2011-07-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:26 PM Revision 729c4b06 (git): Merge commit r32762:
* test/bigdecimal/test_bigdecimal.rb (test_version): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
04:24 PM Revision 7f958b79 (git): * 2011-07-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:24 PM Revision 8a74797f (git): * test/bigdecimal/test_bigdecimal.rb (test_version): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
02:53 PM Revision e613980e (git): * lib/cmath.rb (cbrt): should return a real number if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
02:49 PM Revision 266755a6 (git): * ext/date/date_core.c: an issue that is same as [ruby-dev:44071].
* ext/date/date_strftime.c: identical to [ruby-dev:44112].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba
02:19 PM Revision 6466df87 (git): * defs/default_gems: separate from tool/rbinstall.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:19 PM Revision 92b9c6bb (git): * defs/default_gems: separate from tool/rbinstall.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:14 PM Revision 321346cf (git): * io.c (rb_io_each_byte): rbuf can be refreshed during yield.
[Bug #5119]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:14 PM Revision 77ed5993 (git): * io.c (rb_io_each_byte): rbuf can be refreshed during yield.
[Bug #5119]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:49 PM Bug #4457: Time#strftime で %z 指定子などに大きな幅を指定した際の不具合
akrさん、nakadaさんのパッチはコミットしてしまっていいのでしょうか? kosaki (Motohiro KOSAKI)
01:41 PM Revision cf310f97 (git): * strftime.c (NEEDS): avoid SEGV due to integer overflow in sparc-solaris2.10
and i686-linux. fix [Bug #4456] [ruby-dev:43284]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ngoto (Naohisa Goto)
01:41 PM Revision 875cea02 (git): * strftime.c (NEEDS): avoid SEGV due to integer overflow in sparc-solaris2.10
and i686-linux. fix [Bug #4456] [ruby-dev:43284]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ngoto (Naohisa Goto)
11:23 AM Feature #5097: Supported platforms of Ruby 1.9.3
> Issue #5097 has been updated by Eric Wong.
>
> File 0001-allocate-th-altstack-early-run-GC-on-allocation-fail.patch added
>
> Jeremy: does my patch to allocate th->altstack in a place where xmalloc() is
> possible help?
>
...
kosaki (Motohiro KOSAKI)
09:23 AM Feature #5097: Supported platforms of Ruby 1.9.3
2011/7/30 Jeremy Evans <merch-redmine / jeremyevans.net>:
> 16:28:55.962400 fe80::92fb:a6ff:feed:afa1.10000 > fe80::92fb:a6ff:feed:afa1.23171: [udp sum ok] udp 3 (len 11, hlim 64)
> ...
It is possible if OpenBSD doesn't support dynamic...
akr (Akira Tanaka)
08:35 AM Feature #5097: Supported platforms of Ruby 1.9.3
=begin
It appears that OpenBSD has the correct behavior without including the pktinfo argument. I'm attaching a test program. Here's two examples of usage and the output of each.
Without including pktinfo in the server's sendmsg cal...
jeremyevans0 (Jeremy Evans)
07:23 AM Feature #5097: Supported platforms of Ruby 1.9.3
2011/7/30 Jeremy Evans <merch-redmine@jeremyevans.net>:

> It looks like the socket failure on OpenBSD is because in Socket.udp_server_recv, you are adding the pktinfo in the sendmsg call, and OpenBSD appears not to like that in all c...
akr (Akira Tanaka)
03:36 AM Feature #5097: Supported platforms of Ruby 1.9.3
I forgot to mention that r32730, r32731, r32734, and r32738 should be merged into the 1.9.3 branch as they are currently only on trunk. Maybe r32731, r32734, and r32738 should be combined into a single patch when merging into 1.9.3. jeremyevans0 (Jeremy Evans)
03:23 AM Feature #5097: Supported platforms of Ruby 1.9.3
> I can't understand why OpenBSD fails the test.
It looks like the socket failure on OpenBSD is because in Socket.udp_server_recv, you are adding the pktinfo in the sendmsg call, and OpenBSD appears not to like that in all cases, spec...
jeremyevans0 (Jeremy Evans)
12:53 AM Feature #5097: Supported platforms of Ruby 1.9.3
2011/7/28 Jeremy Evans <merch-redmine@jeremyevans.net>:

> The issue is that Socket.ip_address_list and Addrinfo.foreach return different things.
>
> $ ruby19 -rsocket -e 'p Socket.ip_address_list'
> [#<Addrinfo: ::1>, #<Add...
akr (Akira Tanaka)
10:38 AM Bug #5116 (Closed): Code example for URI::Parser is invalid
The code example for URI::Parser#initialize is invalid Ruby code.
A patch is supplied.
agrimm (Andrew Grimm)
08:36 AM Revision 3761e00f (git): * test/win32ole/test_win32ole_variant.rb: use skip method to skip the test.
* test/win32ole/test_win32ole_variant_outarg.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
05:39 AM Revision 086dd750 (git): Merge commit r32754:
* ext/bigdecimal/bigdecimal.c (BigDecimal_version): version 1.1.0.
* ext/bigdecimal/bigdecimal.gemspec: turn into a default gem.
* tool/rbinstall.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32755 b...
Kenta Murata
05:31 AM Revision 5edd7f07 (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_version): version 1.1.0.
* ext/bigdecimal/bigdecimal.gemspec: turn into a default gem.
* tool/rbinstall.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
04:57 AM Revision 70d89f2c (git): * ext/bigdecimal/lib/bigdecimal/util.rb (Rational#to_d):
revive zero and implicit precision support as a deprecated feature.
* test/bigdecimal/test_bigdecimal_util.rb: modify a test for the above
change.
* NEWS: describes the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branche...
Kenta Murata
03:25 AM Bug #5114: rake's tests imply the binary name of ruby
Here's the patch I'm using to fix the rake test issues. jeremyevans0 (Jeremy Evans)
02:23 AM Revision cef42f30 (git): added ML ref
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
02:22 AM Revision ac397a9e (git): * vm_core.h (ALT_STACK_SIZE): use MINSIGSTKSZ*2 instead of SIGSTKSZ*2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
01:58 AM Revision 64270d3d (git): merge revision(s) 32749:
* vm.c (th_init): preallocate alternative stack.
NoMemoryError is better than rb_bug, of course.
Patch by Eric Wong. [ruby-core:38572][ruby-core:38594].
* signal.c (rb_register_sigaltstack): ditto.
*...
kosaki (Motohiro KOSAKI)
01:57 AM Revision 18bc6c31 (git): * vm.c (th_init): preallocate alternative stack.
NoMemoryError is better than rb_bug, of course.
Patch by Eric Wong. [ruby-core:38572][ruby-core:38594].
* signal.c (rb_register_sigaltstack): ditto.
* vm_core.h: moved ALT_STACK_SIZE definition from signal.c.
* vm.c (thread_free): us...
kosaki (Motohiro KOSAKI)
12:53 AM Feature #5101: allow optional timeout for TCPSocket.new
2011/7/29 Eric Wong <normalperson@yhbt.net>:

> Like my original example in the ticket?
>
> addr = Socket.pack_sockaddr_in(9418, "127.0.0.1")
> s = Socket.new(:AF_INET, :SOCK_STREAM, 0)
> begin
> s.connect_no...
akr (Akira Tanaka)

07/29/2011

10:40 PM Revision 32cfc7ce (git): * ext/socket/lib/socket.rb (udp_server_sockets): unused variable
removed.
patch by Jeremy Evans. [ruby-core:38600]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:40 PM Revision 1054b796 (git): * ext/socket/lib/socket.rb (udp_server_sockets): unused variable
removed.
patch by Jeremy Evans. [ruby-core:38600]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
07:03 PM Bug #4989 (Closed): Document Socket constants
This issue was solved with changeset r32735.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/socket/mkconstants.rb: add documents for constants.
patch...
akr (Akira Tanaka)
04:21 PM Bug #5114 (Closed): rake's tests imply the binary name of ruby
As Jeremy reported on [ruby-core:38530], current rake tests imply the binary name of ruby as "ruby".
They should use /#{Regexp.quote(RUBY)} -e/ as znz says on [ruby-core:38579].
naruse (Yui NARUSE)
03:49 PM Revision 72276eb0 (git): * remove unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:30 PM Revision 990e3e6d (git): * configure.in (RSHIFT): quote to get rid of argument expansion
for autoconf 2.68.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:29 PM Bug #5081: LionでTestSyslog が一件 failure
In message <4E324985.2080400@jp.fujitsu.com>
on Fri, 29 Jul 2011 14:47:57 +0900,
KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> wrote:
>> (NetBSD 5.99.55で、syslogdに -o syslog とオプションを指定した場合で、
>> 伝統的なRFC3164によるsyslogではなく、RFC542...
taca (Takahiro Kambe)
03:29 PM Bug #5081: LionでTestSyslog が一件 failure
In message <4E324985.2080400@jp.fujitsu.com>
on Fri, 29 Jul 2011 14:47:57 +0900,
KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> wrote:
>> (NetBSD 5.99.55で、syslogdに -o syslog とオプションを指定した場合で、
>> 伝統的なRFC3164によるsyslogではなく、RFC542...
taca (Takahiro Kambe)
02:53 PM Bug #5081: LionでTestSyslog が一件 failure
(2011/07/29 13:30), Takahiro Kambe wrote:
> In message <redmine.journal-19822.20110729125917@ruby-lang.org>
> on Fri, 29 Jul 2011 12:59:19 +0900,
> Akinori MUSHA <knu@ruby-lang.org> wrote:
>> Lionからsyslogの書式が変わったように見えます
> 世の...
Anonymous
01:53 PM Bug #5081: LionでTestSyslog が一件 failure
In message <redmine.journal-19822.20110729125917@ruby-lang.org>
on Fri, 29 Jul 2011 12:59:19 +0900,
Akinori MUSHA <knu@ruby-lang.org> wrote:
> Lionからsyslogの書式が変わったように見えます
世の中には(オプション指定すると)、こんな内容をログに出すものも存在しま
すしなぁ。

2011-...
taca (Takahiro Kambe)
12:59 PM Bug #5081: LionでTestSyslog が一件 failure
Lion(の開発)環境が手元に用意できるのが今週末見込みなので少し待っててください。 knu (Akinori MUSHA)
03:21 PM Revision 6c346da7 (git): * ChangeLog: remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:21 PM Revision 07cbc8bc (git): * ChangeLog: remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:01 PM Revision 81113042 (git): * 2011-07-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:01 PM Revision e7f4a32f (git): * 2011-07-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:01 PM Revision 2401971e (git): * 2011-07-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:01 PM Revision 8c29dd85 (git): * lib/securerandom.rb: call OpenSSL::Random.seed at the
SecureRandom.random_bytes call.
based on the patch by Masahiro Tomita. [ruby-dev:44270]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:01 PM Revision 4c9b7e79 (git): * lib/securerandom.rb: call OpenSSL::Random.seed at the
SecureRandom.random_bytes call.
based on the patch by Masahiro Tomita. [ruby-dev:44270]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:01 PM Revision 31eb19bb (git): * lib/securerandom.rb: call OpenSSL::Random.seed at the
SecureRandom.random_bytes call.
based on the patch by Masahiro Tomita. [ruby-dev:44270]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:53 PM Revision d9374649 (git): * array.c (rb_ary_set_len): new function to set array length.
* vm_eval.c (method_missing): set the length of argv array, to mark
arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:53 PM Revision 0d632934 (git): * vm_eval.c (rb_apply): get rid of too large alloca.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:41 PM Feature #5097: Supported platforms of Ruby 1.9.3
Jeremy Evans wrote:
> Nobuyoshi Nakada wrote:
> ...
: is a null command of sh, so an workaround can be replace @: with @true.
But unfortunately it can't be accepted because Windows don't have true.
So please replace it when you port ...
naruse (Yui NARUSE)
06:36 AM Feature #5097: Supported platforms of Ruby 1.9.3
Eric Wong wrote:
> Jeremy: does my patch to allocate th->altstack in a place where xmalloc() is
> ...
Thanks Eric, that patch fixes the problem, and should be a better solution than the current code or my previous workaround.
jeremyevans0 (Jeremy Evans)
06:03 AM Feature #5097: Supported platforms of Ruby 1.9.3
Jeremy: does my patch to allocate th->altstack in a place where xmalloc() is
possible help?
Since altstack is always initialized if Ruby is compiled to use it, I see
no reason to delay the allocation.
normalperson (Eric Wong)
05:18 AM Feature #5097: Supported platforms of Ruby 1.9.3
Nobuyoshi Nakada wrote:
> Hi,
> ...
I spoke with the OpenBSD make maintainer and he said it's a bug in OpenBSD make. So I guess there's no reason to change those files. Sorry for the false positive.
jeremyevans0 (Jeremy Evans)
05:17 AM Feature #5097: Supported platforms of Ruby 1.9.3
Jeremy Evans wrote:
> Motohiro KOSAKI wrote:
> ...
Spoke to soon. It passed with just MINSIGSTKSZ if run in isolation, but not with the other tests:
make btest OPTS="--sets=thread" => works
make btest => works
make check OP...
jeremyevans0 (Jeremy Evans)
03:46 AM Feature #5097: Supported platforms of Ruby 1.9.3
Motohiro KOSAKI wrote:
> I wonder why OpenBSD can't allocate SIGSTKSZ size. Usually it's very small. Can you please tell us openbsd has which value of SIGSTKSZ and MINSIGSTKSZ?
> ...
OpenBSD amd64
MINSIGSTKSZ = 8192
SIGSTKSZ = 40960 ...
jeremyevans0 (Jeremy Evans)
12:53 AM Feature #5097: Supported platforms of Ruby 1.9.3
offtopic,

> ia64: fails with:
> compiling cont.c
> cont.c: In function 'cont_save_thread':
> cont.c:386: error: expected ';' before 'cont'
> make[1]: *** [cont.o] Error 1

This problem has been fixed by r32582.

Tha...
kosaki (Motohiro KOSAKI)
12:36 AM Feature #5097: Supported platforms of Ruby 1.9.3
Nobuyoshi Nakada wrote:
> Hi,
> ...
It's invalid syntax in OpenBSD make, probably because the colon indicates another modifier and the old=new modifier must be the last modifier in a make variable substitution:
:old_string=new_s...
jeremyevans0 (Jeremy Evans)
12:23 AM Feature #5097: Supported platforms of Ruby 1.9.3
>> > * bootstraptest/test_thread.rb: Skip 2 tests. The first one appears to hang, the second crashes with a sigaltstack error.
>>
>> signalstack error seems because of the lack of OpenBSD specific setting.
>> see thread_pthread.c:506...
kosaki (Motohiro KOSAKI)
01:14 PM Revision d6ec6752 (git): * test/ruby/test_process.rb (test_rlimit_nofile): fix r32734.
move return statement again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
11:52 AM Revision 7a261bf3 (git): * ext/socket/mkconstants.rb: fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:52 AM Revision 14871a37 (git): * ext/socket/mkconstants.rb: fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:29 AM Revision bca74ae5 (git): * ext/socket/mkconstants.rb: use whitespaces as a separator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:29 AM Revision b6ee29c9 (git): * ext/socket/mkconstants.rb: use whitespaces as a separator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:03 AM Revision 63d65bec (git): * ext/socket/mkconstants.rb: add documents for constants.
patch by Eric Hodel. [ruby-core:37853] [Bug #4989]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:03 AM Revision 8ef6a221 (git): * ext/socket/mkconstants.rb: add documents for constants.
patch by Eric Hodel. [ruby-core:37853] [Bug #4989]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:01 AM Revision 18f03623 (git): Fix r32731: position of definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:17 AM Revision b7c350d9 (git): Run test_popen_fork on FreeBSD because it can run.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:17 AM Revision 012d5902 (git): * 2011-07-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:17 AM Revision 0a4a5b20 (git): Use setrlimit(NOFILE,1) on OpenBSD.
Because on OpenBSD it freezes if limit=0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:17 AM Revision 63bbbdb6 (git): * configure.in (enable_pthread): use -pthread on OpenBSD without
explicit option. patched by Jeremy Evans. [ruby-core:38572]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:59 AM Feature #5101: allow optional timeout for TCPSocket.new
Tanaka Akira <akr@fsij.org> wrote:
> 2011/7/27 Eric Wong <normalperson@yhbt.net>:
> >
> > Proposed API would be:
> >
> > TCPSocket.new(remote_host, remote_port,
> > connect_timeout: 0.5, local_host: nil, lo...
normalperson (Eric Wong)

07/28/2011

11:21 PM Feature #859: open-uri doesn't allow redirection to https
Akr, I think we agreed that http -> https redirection is OK. If you don't like ad-hoc change for 1.9.3, I can do that uglish thing instead of you. :) Do you mind if I'd do that? nahi (Hiroshi Nakamura)
11:15 PM Bug #4964: open-uri failed to handle multiple "Set-Cookie" headers
As the original reporter said. Akr, we should use resp.to_hash instead of resp.each to avoid HTTP header concatenation.
It would introduce meta values incompatibility (String -> Array of String) so I propose to change the target versi...
nahi (Hiroshi Nakamura)
10:23 PM Feature #5097: Supported platforms of Ruby 1.9.3
Hi,

At Wed, 27 Jul 2011 03:44:48 +0900,
Jeremy Evans wrote in [ruby-core:38530]:
> Attached is the make check output on OpenBSD amd64. I'm also attaching a diff with the patches I used:

What is the reason to change ECHO1 ...
nobu (Nobuyoshi Nakada)
05:52 PM Feature #5097: Supported platforms of Ruby 1.9.3
I think
/#{RUBY} -e/ in ruby193.diff
should be
/#{Regexp.quote(RUBY)} -e/
znz (Kazuhiro NISHIYAMA)
04:53 PM Feature #5097: Supported platforms of Ruby 1.9.3
On Jul 27, 2011, at 17:50, Jeremy Evans <merch-redmine@jeremyevans.net> wrote:

>>> Even with the attached patch, there are 5 failures. 3 failures are weird linking errors in the rake tests I don't understand ("ruby lib version (1.9.3...
drbrain (Eric Hodel)
03:02 PM Feature #5097: Supported platforms of Ruby 1.9.3
=begin
> > The pktinfo_sockets hash here is never used. And even if it was, because you are not adding the '::' address to ip_addrs if ipv6_recvpktinfo, no socket is being created for it, so you will +never hit lines 548-549. The at...
jeremyevans0 (Jeremy Evans)
12:53 PM Feature #5097: Supported platforms of Ruby 1.9.3
2011/7/28 Jeremy Evans <merch-redmine@jeremyevans.net>:
>> > * ext/socket/lib/socket.rb: Don't check ipv6_recvpktinfo. This fixes a failure in one of the socket tests:
> ...
Thank you for notifying pktinfo_sockets is not used.
However ...
akr (Akira Tanaka)
09:50 AM Feature #5097: Supported platforms of Ruby 1.9.3
> Jeremy Evans wrote:
> ...

I don't think the problem is there, as reading the documentation the call there (pthread_stackseg_np(pthread_self(), &stk)) appears to be correct. The error I get in the 2nd bootstrap test is "rb_register...
jeremyevans0 (Jeremy Evans)
12:32 AM Feature #5097: Supported platforms of Ruby 1.9.3
Jeremy Evans wrote:
> Attached is the make check output on OpenBSD amd64. I'm also attaching a diff with the patches I used:
> ...
signalstack error seems because of the lack of OpenBSD specific setting.
see thread_pthread.c:506 and ...
naruse (Yui NARUSE)
09:53 PM Feature #4976: Pathname#=~ が undef されている理由
2011年7月5日16:50 Kenta Murata <muraken@gmail.com>:
>
> Pathname#=~ が欲しいなぁと思って、patch を書いて feature request を投稿しようとしたところ、
> Init_pathname の中で明示的に undef されている事に気が付きました。
>
> このメソッドが undef されている理由を教えて頂けませんか。
> その理由を伺ったうえで、=~ を以下と同じ挙...
akr (Akira Tanaka)
09:53 PM Feature #4976: Pathname#=~ が undef されている理由
2011年7月5日16:50 Kenta Murata <muraken@gmail.com>:
>
> Pathname#=~ が欲しいなぁと思って、patch を書いて feature request を投稿しようとしたところ、
> Init_pathname の中で明示的に undef されている事に気が付きました。
>
> このメソッドが undef されている理由を教えて頂けませんか。
> その理由を伺ったうえで、=~ を以下と同じ挙...
akr (Akira Tanaka)
09:53 PM Bug #4989: Document Socket constants
2011/7/8 Eric Hodel <drbrain@segment7.net>:
>
> The attached patch documents most of the Socket constants by adding a third field to ext/socket/mkconstants.rb containing the documentation.
>
> I'm not sure if all the documentati...
akr (Akira Tanaka)
09:23 PM Feature #5101: allow optional timeout for TCPSocket.new
2011/7/27 Eric Wong <normalperson@yhbt.net>:
>
> Proposed API would be:
>
> TCPSocket.new(remote_host, remote_port,
> connect_timeout: 0.5, local_host: nil, local_port: nil)
>
> Or:
>
> TCPSocket.ne...
akr (Akira Tanaka)
03:23 AM Feature #5101: allow optional timeout for TCPSocket.new
Eric Wong <normalperson@yhbt.net> wrote:
> Proposed API would be:
>
> TCPSocket.new(remote_host, remote_port,
> connect_timeout: 0.5, local_host: nil, local_port: nil)

An alternative (or complimentary) API could also...
normalperson (Eric Wong)
04:41 PM Bug #4923 (Feedback): [ext/openssl] test_ssl.rb: test_client_auth fails
Martin Bosslet wrote:
> I don't know what I did to produce that thing. That night I was able to reproduce it just fine, but I never got it again since then. I just ran make test-all for openssl with the custom Fedora version 50 times, n...
nahi (Hiroshi Nakamura)
04:25 PM Feature #5112 (Closed): Remove inadvertent symbol creation from send, __send__, and public_send
When I was first working on the inadvertent symbol creation removal code, I didn't think it was possible to handle send because method_missing requires a symbol as the first argument. But once I figured out how to handle the similar sit... jeremyevans0 (Jeremy Evans)
04:25 PM Revision e5054226 (git): * backport r32671 from trunk.
* proc.c: pre-allocate the unlinked_method_entry_list_entry struct to
avoid memory allocation during GC. based on a patch from Eric Wong.
[ruby-core:38498]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32729 b2dd0...
mame (Yusuke Endoh)
03:50 PM Revision 43e8a7a3 (git): * backport r32669 from trunk.
* proc.c (struct METHOD), gc.c (gc_marks), vm_method.c
(rb_gc_mark_unlinked_live_method_entries): fix SEGV bug.
rb_method_entry_t was free'd even when the method is still on the
stack if it is BMETHOD (i.e., Method#call). This is ...
mame (Yusuke Endoh)
03:01 PM Revision 264fdd76 (git): * 2011-07-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:00 PM Revision 34c7aaa1 (git): merge revision 32725:
* ext/fiddle/closure.c (callback): use rb_ary_tmp_new() instead of
xmalloc() to allocate an array for arguments of callback procedure,
to prevent arguments from being swept by GC. [ruby-core:38546]
[Bug #492...
nagachika (Tomoyuki Chikanaga)
02:47 PM Revision 60053a0a (git): * ext/fiddle/closure.c (callback): use rb_ary_tmp_new() instead of
xmalloc() to allocate an array for arguments of callback procedure,
to prevent arguments from being swept by GC. [ruby-core:38546]
[Bug #4929]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:38 PM Bug #5111 (Closed): test/rubygems/test_gem_installer.rb reports a failure on windows
=begin
I guess the test is wrong on Windows.
1) Failure:
test_generate_bin_bindir_with_user_install_warning(TestGemInstaller) [C:/Users/usa/ruby/test/rubygems/test_gem_installer.rb:225]:
--- expected
+++ actual
@@ -1 +1,3 @@...
usa (Usaku NAKAMURA)
01:52 PM Revision be10ad20 (git): * backport r32723 from trunk.
* ext/openssl/ossl_cipher.c (ossl_cipher_initialize): Avoid possible
SEGV from AES encryption/decryption. Processing data by
Cipher#update without initializing key (meaningless usage of Cipher
object since we don't offer a way to e...
Hiroshi Nakamura
01:48 PM Revision e7e87b3c (git): * ext/openssl/ossl_cipher.c (ossl_cipher_initialize): Avoid possible
SEGV from AES encryption/decryption. Processing data by
Cipher#update without initializing key (meaningless usage of Cipher
object since we don't offer a way to export a key) could cause SEGV.
In OpenSSL, the EVP which has EVP_CIP...
Hiroshi Nakamura
12:25 PM Bug #4160 (Closed): test_core_03_notify(Rinda::TupleSpaceProxyTest) が失敗する
This issue was solved with changeset r32717.
Kouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
the code that depends on timing. [Bug #372] [Bug #4160]
seki (Masatoshi Seki)
12:25 PM Bug #372 (Closed): Rinda has a race condition
This issue was solved with changeset r32717.
, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
the code that depends on timing. [Bug #372] [Bug #4160]
seki (Masatoshi Seki)
08:56 AM Bug #5110 (Closed): Ruby SSL error - sslv3 alert unexpected message
I'm running ruby 1.9.2p290 on a machine with OpenSSL version 0.9.8o 01 Jun 2010
When I run the following script:
require 'net/http'
url = URI.parse('https://www.xpiron.com/schedule')
req = Net::HTTP::Get.new(url.path)
sock = Net...
hoisie (Michael Hoisie)
07:00 AM Bug #5109 (Third Party's Issue): YAML output has changed
libyaml detects if you have single or double quotes in your string. If it sees those characters, it will escape them and emit a tagged string literal. tenderlovemaking (Aaron Patterson)
06:20 AM Bug #5109 (Third Party's Issue): YAML output has changed
Have no idea why, but I noticed that 1.9.3 is producing strange YAML output:
snippet:
- 35: ''
- 36: ! ' Then ''the result should be (((\d+))) on the screen'' do |n|'
- 37: ! ' @result.assert == n.to_i'
- 38: ! ' en...
trans (Thomas Sawyer)
05:26 AM Revision 46247fb3 (git): * lib/rubygems/user_interaction.rb (Gem::StreamUI#tty?): typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:32 AM Revision d3d44cd9 (git): * ext/dl/callback/mkcallback.rb (gencallback): use PTR2NUM.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:32 AM Revision eda13c7e (git): * ext/dl/cptr.c (rb_dlptr_aref, rb_dlptr_aset): check NULL pointer
dereference.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:32 AM Revision ad8ab9c0 (git): * ext/dl/cptr.c (rb_dlptr_s_to_ptr): use rb_check_funcall.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:32 AM Revision 79d8d743 (git): * ext/dl/cptr.c (rb_dlptr_s_to_ptr): fix wrapping condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:25 AM Revision e2b80011 (git): the code that depends on timing. [Bug #372] [Bug #4160]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Masatoshi SEKI
02:15 AM Bug #4929 (Closed): test/dl/test_func.rb was crashed on Mac
This issue was solved with changeset r32712.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/dl/cfunc.c (dlcfunc_mark), ext/dl/cptr.c (dlptr_mark):
...
nobu (Nobuyoshi Nakada)
12:33 AM Revision 02345202 (git): merge revision(s) 32715:
------------------------------------------------------------------------
r32715 | naruse | 2011-07-28 09:23:28 +0900 (Thu, 28 Jul 2011) | 1 line
See __APPLE__ for __syscall.
--------------------------------------------------------------...
naruse (Yui NARUSE)
12:23 AM Revision da6c57aa (git): See __APPLE__ for __syscall.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
 

Also available in: Atom