Project

General

Profile

Activity

From 02/20/2010 to 02/26/2010

02/26/2010

11:30 PM Bug #2794: Aborted (core dumped) BUG on Ruby/DL
=begin
DLなのでlibcのstrdupを呼ぶのが仕様なのではないか?つまり、RStringのsize=1024は無視するのが仕様なのではないのか?という疑問があります。と書いたつもりでした。舌足らずですいません
=end
kosaki (Motohiro KOSAKI)
11:13 PM Bug #2794: Aborted (core dumped) BUG on Ruby/DL
=begin
p DL.strdup("\x0"*1024)
#<DL::PtrData:0x100dd208 ptr=0x100dd1f8 size=1024 free=0x69e08e20>

とsizeが1024と...
zophos (Takao NISHI)
10:47 PM Bug #2794: Aborted (core dumped) BUG on Ruby/DL
=begin
DL.strdup("\0"*1024)はlibcのstrdupを呼び出すのでC言語のstrdupの仕様に従いstrdup("\0")を実行し1バイトバッファを作ります。
なので、仕様のような気もします

...
kosaki (Motohiro KOSAKI)
10:30 PM Bug #2794: Aborted (core dumped) BUG on Ruby/DL
=begin
以下の環境で再現(i.e. fedora12 on x86_64)

ruby 1.8.6 (2009-08-04 patchlevel 383) [x86_64-linux]
=end
kosaki (Motohiro KOSAKI)
01:37 PM Bug #2794 (Closed): Aborted (core dumped) BUG on Ruby/DL
=begin
以下のコードでcore dumpします。
----
$ ruby -rdl/import -e 's=DL.strdup("\0"*1024);s[0,1023]="\xff"'
*** glibc det...
zophos (Takao NISHI)

02/24/2010

01:44 PM Revision 26750: * lib/resolv.rb: fix [ruby-core:28320] reported by Paul Clegg.
(Resolv::DNS::Requester#request): raise ResolvTimeout
consistently for timeout.
akr (Akira Tanaka)
01:26 PM Bug #2468 (Closed): Array expansion inside case/when gives unexpected results
=begin
> I wish "ref [Bug #...]" would have been parsed just like "cf: [Bug #...]".
#... may change when the ticke...
naruse (Yui NARUSE)
01:26 PM Bug #2551 (Closed): case/when matches literal *[1,2,3] but not variable *ary
=begin
> I wish "ref [Bug #...]" would have been parsed just like "cf: [Bug #...]".
#... may change when the ticke...
naruse (Yui NARUSE)
01:26 PM Bug #2555 (Closed): "case n when *VALID" Broken in Ruby 1.8.8; affects Ruby on Rails
=begin
> I wish "ref [Bug #...]" would have been parsed just like "cf: [Bug #...]".
#... may change when the ticke...
naruse (Yui NARUSE)
09:13 AM Bug #2555: "case n when *VALID" Broken in Ruby 1.8.8; affects Ruby on Rails
=begin
http://redmine.ruby-lang.org/repositories/revision/ruby-18?rev=26737 reverts http://svn.ruby-lang.org/cgi-bin...
rubys (Sam Ruby)

02/23/2010

03:45 PM Revision 26738: * 2010-02-24
svn
03:45 PM Revision 26737: * parse.y: Revert r26609, r26160, r25658 and r24695. The loose
args patch caused a lot of problem and we just could not fix
them all in a timely manner.
knu (Akinori MUSHA)
 

Also available in: Atom