Project

General

Profile

Activity

From 07/21/2011 to 07/27/2011

07/27/2011

11:53 PM 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)

Btw, I'll gladly provide patches + tests if the ...
normalperson (Eric Wong)
04:13 PM Feature #5101 (Assigned): allow optional timeout for TCPSocket.new
naruse (Yui NARUSE)
08:59 AM Feature #5101 (Closed): allow optional timeout for TCPSocket.new
Proposed API would be:
TCPSocket.new(remote_host, remote_port,
connect_timeout: 0.5, local_host: nil, local_port: nil)
Or:
TCPSocket.new(remote_host, remote_port, connect_timeout: 0.5)
For the common case.
This...
normalperson (Eric Wong)
10:58 PM Feature #3001: Ruby stdlib: Benchmark::Tms #memberwise drops labels
Hi,
> It would seem consistent (and more informative) if it also passed in the current label (especially since there's no other way to set it):
What about (tms1 + tms2)'s label ? Should it be "#{tms1.label} #{op} #{tms2.label}" ?
...
Eregon (Benoit Daloze)
10:49 PM Bug #5104 (Closed): test_rinda.rb の GC保護もれ
This issue was solved with changeset r32705.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/rinda/test_rinda.rb (test_remote_array_and_hash):
ad...
nagachika (Tomoyuki Chikanaga)
08:59 PM Bug #5104: test_rinda.rb の GC保護もれ
近永と申します。

> すみません。そのように思います。
> すぐに手を出せないのでどなたか修正していただけないでしょうか。
確認ありがとうございます。
後程やっておきます。
nagachika (Tomoyuki Chikanaga)
08:59 PM Bug #5104: test_rinda.rb の GC保護もれ
近永と申します。

> すみません。そのように思います。
> すぐに手を出せないのでどなたか修正していただけないでしょうか。
確認ありがとうございます。
後程やっておきます。
nagachika (Tomoyuki Chikanaga)
08:54 PM Bug #5104 (Assigned): test_rinda.rb の GC保護もれ
nagachika (Tomoyuki Chikanaga)
12:34 PM Bug #5104 (Closed): test_rinda.rb の GC保護もれ
make test-all TESTS="--gc-stress -vq rinda/test_rinda.rb -n test_remote_array_and_hash"
と GC.stress = true で rinda のテストを通すと環境によって以下のように失敗します。
Rinda::TupleSpaceProxyTest#test_remote_array_and_hash = 4.62 s = E
Finished tests in 4...
nagachika (Tomoyuki Chikanaga)
07:56 PM Revision e83748fd (git): * lib/delegate.rb: Move file-level documentation to the appropriate
classes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
07:53 PM Revision cfb37052 (git): * lib/delegate.rb: Move file-level documentation to the appropriate
classes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
07:11 PM Bug #5107 (Closed): Segmentation fault
This is already fixed in r29415; update your OS and ruby. naruse (Yui NARUSE)
06:09 PM Bug #5107 (Closed): Segmentation fault
I have been trying to implement basecamp project import using resque. But I get the following error message. I am not sure what has caused the error. Please help me out.
/Users/sts-086sts-086/.rvm/gems/ruby-1.9.2-p0/gems/activemodel-3...
jayandra (jayandra pokharel)
06:53 PM Feature #4589: add Queue#each() method and include Enumerable
On 27/07/11 00:34, Eric Hodel wrote:
>
> Issue #4589 has been updated by Eric Hodel.
>
>
> There are no destructive methods in Enumerable.

Enumerable gets mixed into IO, and #each on a Socket *is* destructive
(of the...
regularfry (Alex Young)
08:34 AM Feature #4589: add Queue#each() method and include Enumerable
There are no destructive methods in Enumerable.
Most times I use a Queue I am producing and consuming items at the same time so this would not be as useful for me since it works on a copy.
If I were to finish production of items or...
drbrain (Eric Hodel)
03:21 AM Feature #4589: add Queue#each() method and include Enumerable
Perhaps this code example can better illustrate my request:
class Queue
def each(&block)
temporary_copy = @internal_queue_lock.synchronize do
@internal_item_array.dup
end
temporary_copy.each(&block)
end
en...
sunaku (Suraj Kurapati)
05:15 PM Revision 9f3914ab (git): * ext/dl/cfunc.c (dlcfunc_mark), ext/dl/cptr.c (dlptr_mark):
workaround to mark wrapped object. this is not a true fix,
because [Bug #4929] is caused by the interface design of DL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:59 PM Bug #5094: Supported platforms of Ruby 1.9.3
2011年7月27日12:25 Yusuke ENDOH <mame@tsg.ne.jp>:
> 2011年7月27日10:20 NARUSE, Yui <naruse@airemix.jp>:
>>> 「パス *させたい* プラットフォーム
>>> 一覧」と考えて、ダメなら最終リストから削ればいいのではないかしら。
>>
>> 今決めているのは Best Effort のつもりです。
>> それは遠藤さんのいう「パス *させたい* プラットフ...
naruse (Yui NARUSE)
04:59 PM Bug #5094: Supported platforms of Ruby 1.9.3
2011年7月27日12:25 Yusuke ENDOH <mame@tsg.ne.jp>:
> 2011年7月27日10:20 NARUSE, Yui <naruse@airemix.jp>:
>>> 「パス *させたい* プラットフォーム
>>> 一覧」と考えて、ダメなら最終リストから削ればいいのではないかしら。
>>
>> 今決めているのは Best Effort のつもりです。
>> それは遠藤さんのいう「パス *させたい* プラットフ...
naruse (Yui NARUSE)
12:29 PM Bug #5094: Supported platforms of Ruby 1.9.3
2011年7月27日10:20 NARUSE, Yui <naruse@airemix.jp>:
>> 「パス *させたい* プラットフォーム
>> 一覧」と考えて、ダメなら最終リストから削ればいいのではないかしら。
>
> 今決めているのは Best Effort のつもりです。
> それは遠藤さんのいう「パス *させたい* プラットフォーム一覧」でしょう。

いえ、違います。今 Best Effort であると決める、ということは、
...
mame (Yusuke Endoh)
12:29 PM Bug #5094: Supported platforms of Ruby 1.9.3
2011年7月27日10:20 NARUSE, Yui <naruse@airemix.jp>:
>> 「パス *させたい* プラットフォーム
>> 一覧」と考えて、ダメなら最終リストから削ればいいのではないかしら。
>
> 今決めているのは Best Effort のつもりです。
> それは遠藤さんのいう「パス *させたい* プラットフォーム一覧」でしょう。

いえ、違います。今 Best Effort であると決める、ということは、
...
mame (Yusuke Endoh)
10:23 AM Bug #5094: Supported platforms of Ruby 1.9.3
2011年7月26日22:39 Yusuke ENDOH <mame@tsg.ne.jp>:
> 今決めてるのを「1.9.3 がテストをパス *しなければならない* プラット
> フォーム一覧」と考えるのではなく

わたしはそんなことは一言も言ってませんよ。

> 「パス *させたい* プラットフォーム
> 一覧」と考えて、ダメなら最終リストから削ればいいのではないかしら。

今決めているのは Best Effort のつもりです。...
naruse (Yui NARUSE)
10:23 AM Bug #5094: Supported platforms of Ruby 1.9.3
2011年7月26日22:39 Yusuke ENDOH <mame@tsg.ne.jp>:
> 今決めてるのを「1.9.3 がテストをパス *しなければならない* プラット
> フォーム一覧」と考えるのではなく

わたしはそんなことは一言も言ってませんよ。

> 「パス *させたい* プラットフォーム
> 一覧」と考えて、ダメなら最終リストから削ればいいのではないかしら。

今決めているのは Best Effort のつもりです。...
naruse (Yui NARUSE)
04:25 PM Feature #4831: Integer#prime_factors
Yes, #prime_factors and #factors are synonyms. drbrain (Eric Hodel)
04:18 PM Revision 5c815b73 (git): * test/ruby/test_symbol.rb (test_no_inadvertent_symbol_creation):
remove an assertion depending on default respond_to_missing?.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:52 PM Revision a99ef204 (git): * test/ruby/test_symbol.rb (test_no_inadvertent_symbol_creation3):
remove an assertion depending on default const_missing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:44 PM Bug #5067 (Closed): BasicObject's constant lookup documentation
This issue was solved with changeset r32700.
Shyouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* object.c: Add usage documentation for BasicObject. Based ...
drbrain (Eric Hodel)
03:33 PM Revision f39ed9dc (git): merge revision(s) 32707:
* test/fileutils/test_fileutils.rb: add OpenBSD case.
patched by Jeremy Evans [ruby-core:38530] see #5097
* test/ruby/test_process.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32709 b2dd...
naruse (Yui NARUSE)
03:30 PM Revision 9261088e (git): * 2011-07-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:30 PM Revision d7138d72 (git): * test/fileutils/test_fileutils.rb: add OpenBSD case.
patched by Jeremy Evans [ruby-core:38530] see #5097
* test/ruby/test_process.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:55 PM Revision 969ae329 (git): * test/ruby/test_symbol.rb (test_inspect): use %W to enable
escape.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:49 PM Revision dddc9485 (git): * test/rinda/test_rinda.rb (test_remote_array_and_hash):
add local variables to protect objects from GC. [ruby-dev:44253]
[Bug #5104]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:03 PM Feature #4990: Proposal: Internal GC/memory subsystem API
I've made a small amount of progress on a prototype. I will post links to github branches ASAP.
kstephens (Kurt Stephens)
12:57 PM Feature #5033: PATCH: 1.9: gc_mark_children: Avoid gc_mark() tail recursion, use goto again.
There will be improvements for programs that have large numbers of Rational and Complex numbers. If someone has a suitable benchmark please let me know. Otherwise, I'll write something simple. kstephens (Kurt Stephens)
12:54 PM Feature #5106 (Rejected): Is MurmurHash overkill?
st.c implements MurmurHash to compute hash table indexes (#hash).
Simpler hash functions may be appropriate for hash tables, esp. small tables.
Is there a particular reason this hash function was chosen? Is MurmurHash typically ...
kstephens (Kurt Stephens)
12:47 PM Bug #4062: "gem uninstall" does not honor --program-suffix
The feature was only partially implemented in RubyGems 1.8. It was missing a require and had confusing messaging. drbrain (Eric Hodel)
12:33 PM Bug #4062 (Closed): "gem uninstall" does not honor --program-suffix
This issue was solved with changeset r32697.
Sakuro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rubygems/uninstaller.rb: Add missing require and update
...
drbrain (Eric Hodel)
12:22 PM Bug #4929 (Open): test/dl/test_func.rb was crashed on Mac
Hi,
I've found that a similar problem remains at trunk(r32672) yet.
In my environment (Ubuntu 10.04.03), make test-all TESTS="-vq dl/test_func.rb -n test_qsort1.rb" cause SEGV.
It seems that CPtr.new in callback procedure cause SIGS...
nagachika (Tomoyuki Chikanaga)
12:16 PM Bug #372 (Assigned): Rinda has a race condition
redmineにうまく転写されてないようですが、テストの問題とのことなので、
reopenのうえ咳さんにアサインします。
kosaki (Motohiro KOSAKI)
10:45 AM Feature #5103: [ext/openssl] Object equality for objects based on ASN.1 structures
Eric Hodel wrote:
> Is object equality on ASN.1 structures not useful or hard?
I think it could be quite useful, for example when comparing certificates. Right now an easy way to do this is by comparing cert1.to_der == cert2.to_der.
...
MartinBosslet (Martin Bosslet)
10:36 AM Feature #5103: [ext/openssl] Object equality for objects based on ASN.1 structures
Is object equality on ASN.1 structures not useful or hard? drbrain (Eric Hodel)
09:59 AM Feature #5103 (Feedback): [ext/openssl] Object equality for objects based on ASN.1 structures
Equality behaviour is not overridden by any of the classes that base on ASN.1 structures. This leads to
counterintuitive things such as
require 'openssl'
key = OpenSSL::PKey::RSA.new 256
puts [key].include?(key) # => ...
MartinBosslet (Martin Bosslet)
10:00 AM Feature #5102 (Feedback): [ext/openssl] Purpose of OpenSSL::PKCS12.new / Allow changing the password
MartinBosslet (Martin Bosslet)
09:52 AM Feature #5102 (Feedback): [ext/openssl] Purpose of OpenSSL::PKCS12.new / Allow changing the password
It seems as if currently creating a PKCS12 with OpenSSL::PKCS12.new is not very useful, all the attributes
are read-only. So this could probably be removed or the attributes could be write-accessible, too.
Apart from that, it would a...
MartinBosslet (Martin Bosslet)
09:47 AM Feature #3793: No test for OpenSSL::PKCS12
There was not really much to add to Aaron's tests. I included a CA and an intermediate CA certificate, and one additional test.
But I noticed three things:
1) What is OpenSSL::PKCS12.new good for? It seems like it's useless - the P...
MartinBosslet (Martin Bosslet)
09:31 AM Feature #3793 (Closed): No test for OpenSSL::PKCS12
This issue was solved with changeset r32690.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/openssl/test_pkcs12.rb: Add test and intermediate certi...
Anonymous
08:59 AM Revision bed02ef5 (git): merge revision(s) 32702:
* include/ruby/missing.h: define __syscall if the platform has
__syscall in the library but doesn't define it in headers
for example Mac OS X.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32704 b2...
naruse (Yui NARUSE)
08:59 AM Revision 88b031a3 (git): merge revision(s) 32699:
------------------------------------------------------------------------
r32699 | naruse | 2011-07-27 14:21:33 +0900 (Wed, 27 Jul 2011) | 4 lines
Use ::Syck explicitly.
lib/rubygems/requirement.rb defines YAML::Syck.
So explicitly spec...
naruse (Yui NARUSE)
08:58 AM Revision 9f2b8eaf (git): * include/ruby/missing.h: define __syscall if the platform has
__syscall in the library but doesn't define it in headers
for example Mac OS X.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:45 AM Feature #5100: allow configurable timeouts in resolv.rb
I've added a timeouts= instance method to Resolv::DNS. I'm unsure about
the API, but it should be usable (test case included).
Also pullable via git:
git pull git://bogomips.org/ruby resolv-timeout
normalperson (Eric Wong)
06:54 AM Feature #5100 (Closed): allow configurable timeouts in resolv.rb
Currently the resolv.rb timeouts are hard-coded and too high for some
users. It would be nice to have an easy way of timing out DNS requests without
resorting to the innefficient and potentially dangerous "timeout" library.
normalperson (Eric Wong)
07:47 AM Bug #4944: crash in FIPS mode after unchecked EVP_DigestInit_ex failure
The issue with OS X 10.7 is solved, I had to revert the checks for an int return value of HMAC_Init_ex as OpenSSL versions prior to 1.0.0 did not have that feature yet. As concerns the deprecation of OpenSSL in OS X >= 10.7, that's a dif... MartinBosslet (Martin Bosslet)
07:39 AM Bug #4923: [ext/openssl] test_ssl.rb: test_client_auth fails
Hiroshi Nakamura wrote:
> While investigating #5039, I found that SSL_shutdown() could add something to global error stack in OpenSSL < 0.9.8m, possibly related the OpenSSL 0.9.8m fix Martin posted above. Based on my investigation, that...
MartinBosslet (Martin Bosslet)
06:53 AM Feature #5064: HTTP user-agent class
jonathan rochkind <jonathan@dnil.net> wrote:
> 1. Huge performance problem of the way timeouts are implemented.

I would like to split the HTTP open_timeout into two components:
connect_timeout and dns_timeout

connect_ti...
normalperson (Eric Wong)
12:19 AM Feature #5064: HTTP user-agent class
I would love a simpler, more use-case focused HTTP library in the Ruby standard library. We should make the simple case very simple, and let people fall back to the full Net::HTTP if they need all the advanced and/or unusual stuff. steveklabnik (Steve Klabnik)
06:49 AM Revision b727b2a4 (git): * object.c: Add usage documentation for BasicObject. Based on patch
by Thomas Sawyer. [Ruby 1.9 - Bug #5067]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
06:44 AM Revision 3eb7d2b3 (git): * object.c: Add usage documentation for BasicObject. Based on patch
by Thomas Sawyer. [Ruby 1.9 - Bug #5067]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
05:21 AM Revision e29d5897 (git): Use ::Syck explicitly.
lib/rubygems/requirement.rb defines YAML::Syck.
So explicitly specify the top level one.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:34 AM Bug #4097 (Third Party's Issue): Unexpected result of STDIN.read on Windows

Sorry for a delayed response.
Now, STDIN.read(n) under multibyte console inputs might return n+1 bytes String.(by r29980 and r30280)
Multibyte character is never split in read of MS runtime.
And, it is difficult to do STDIN.ung...
tarui (Masaya Tarui)
03:44 AM Feature #5097: Supported platforms of Ruby 1.9.3
Attached is the make check output on OpenBSD amd64. I'm also attaching a diff with the patches I used:
* bootstraptest/test_thread.rb: Skip 2 tests. The first one appears to hang, the second crashes with a sigaltstack error.
* con...
jeremyevans0 (Jeremy Evans)
12:53 AM Feature #5097: Supported platforms of Ruby 1.9.3
On Mon, Jul 25, 2011 at 11:52 PM, Yui NARUSE <naruse@airemix.jp> wrote:
> If you want to support a platform, please declare.
> ...
I can contribute with all available resources to test Ruby against
mingw32 and mingw-w64 on both 32bits an...
luislavena (Luis Lavena)
12:29 AM Feature #5097: Supported platforms of Ruby 1.9.3
For Linux distributions, it would make sense to have a list both of distributions, and of architectures. There are problems that are distribution-specific, and problems that are architecture-specific.
I can help with Debian (and Ubunt...
lucas (Lucas Nussbaum)
03:42 AM Revision 76325a8b (git): * lib/rubygems/uninstaller.rb: Add missing require and update
messaging to avoid confusion with uninstall --format-executable.
[Ruby 1.9 - Bug #4062]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
03:33 AM Revision 55b81eb9 (git): * lib/rubygems/uninstaller.rb: Add missing require and update
messaging to avoid confusion with uninstall --format-executable.
[Ruby 1.9 - Bug #4062]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
03:30 AM Feature #5008: Equal rights for Hash (like Array, String, Integer, Float)
NilClass#to_h would be useful. Especially for Enumerable types, it's common convention to return an empty container of that type, so that you can chain things together.
The proliferation of nil is often considered a code smell, there'...
steveklabnik (Steve Klabnik)
02:52 AM Feature #5008: Equal rights for Hash (like Array, String, Integer, Float)
Yui NARUSE wrote:
> First of all, Ruby has two way of the type conversion; implicit
> ...
I see, then for Hash:
* to_h should be explicit conversion
* to_hash should be implicit conversion.
> > Add Kernel#Hash method for convert...
sunaku (Suraj Kurapati)
02:04 AM Revision 35507666 (git): * vm_dump.c (VMDEBUG): suppress undefined macro warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:04 AM Revision c553ee2d (git): * test/ruby/test_symbol.rb (TestSymbol#test_inspect): workaround for
ruby-mode.el.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:04 AM Revision 28414483 (git): * lib/rubygems: Update to RubyGems 1.8.6.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
01:40 AM Revision 035ef0a3 (git): * lib/rubygems: Update to RubyGems 1.8.6.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
01:07 AM Revision 49caf557 (git): * backport r32690 from trunk.
* test/openssl/test_pkcs12.rb: Add test and intermediate certificates.
[ Ruby 1.9 - Feature #3793 ] [ruby-core:32088]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
01:07 AM Revision 8f5ca116 (git): * property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:05 AM Feature #5089 (Closed): Even More Inadvertent Symbol Removal, And Fix Issue With Previous Code
This issue was solved with changeset r32686.
Jeremy, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* eval_error.c (rb_print_undef_str): new function to raise
Na...
nobu (Nobuyoshi Nakada)
01:05 AM Feature #5072 (Closed): Avoid inadvertent symbol creation in reflection methods
This issue was solved with changeset r32685.
Jeremy, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_method.c (obj_respond_to): fix the respond_to_missing? ove...
nobu (Nobuyoshi Nakada)
12:46 AM Bug #5098 (Closed): bigdecimal/util.rb で定義される to_d メソッドによる型変換と、BigDecimal 関数による型変換が整合していない
This issue was solved with changeset r32677.
Kenta, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/bigdecimal/lib/bigdecimal/util.rb (Integer#to_d): added
...
mrkn (Kenta Murata)
12:31 AM Revision b9c485aa (git): * test/openssl/test_pkcs12.rb: Add test and intermediate certificates.
[ Ruby 1.9 - Feature #3793 ] [ruby-core:32088]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)

07/26/2011

10:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
遠藤です。

2011年7月26日21:56 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> (07/26/2011 09:07 PM), Yusuke ENDOH wrote:
>> 自己満足ってことかな。ボランティアでのリリースって自己満足ですよね。
>
> そうです。まさにそのとおり。
>
> で、自己満足とサポートってのはあんまり馴染まない概念だろうと思います。

粛々とパッケージ化...
mame (Yusuke Endoh)
10:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
遠藤です。

2011年7月26日21:56 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> (07/26/2011 09:07 PM), Yusuke ENDOH wrote:
>> 自己満足ってことかな。ボランティアでのリリースって自己満足ですよね。
>
> そうです。まさにそのとおり。
>
> で、自己満足とサポートってのはあんまり馴染まない概念だろうと思います。

粛々とパッケージ化...
mame (Yusuke Endoh)
09:59 PM Bug #5094: Supported platforms of Ruby 1.9.3
卜部で、前回のメールに書き忘れたことがあったとすれば、べつに192のク
オリティに不満があったとかでは全然なくて、えんどうさんは偉い。そこ
は書き漏らすべきではありませんでした。えんどうさんには感謝してます。

(07/26/2011 09:07 PM), Yusuke ENDOH wrote:
> 2011年7月26日20:49 Urabe Shyouhei <shyouhei@ruby-lang.org>:
>> 個人的な結論としてはリリー...
shyouhei (Shyouhei Urabe)
09:59 PM Bug #5094: Supported platforms of Ruby 1.9.3
卜部で、前回のメールに書き忘れたことがあったとすれば、べつに192のク
オリティに不満があったとかでは全然なくて、えんどうさんは偉い。そこ
は書き漏らすべきではありませんでした。えんどうさんには感謝してます。

(07/26/2011 09:07 PM), Yusuke ENDOH wrote:
> 2011年7月26日20:49 Urabe Shyouhei <shyouhei@ruby-lang.org>:
>> 個人的な結論としてはリリー...
shyouhei (Shyouhei Urabe)
09:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
遠藤です。

2011年7月26日19:48 NARUSE, Yui <naruse@airemix.jp>:
> (2011/07/26 12:38), Yusuke ENDOH wrote:
>> ただそれは、「サポートプラン」とか "supported" とか "best effort"
>> とかいう語感からユーザが期待するものとは確かに違うんですよね。
>> 名前が悪いから「言葉遊び」と感じるんじゃないかと思います。
>> もっと...
mame (Yusuke Endoh)
09:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
遠藤です。

2011年7月26日19:48 NARUSE, Yui <naruse@airemix.jp>:
> (2011/07/26 12:38), Yusuke ENDOH wrote:
>> ただそれは、「サポートプラン」とか "supported" とか "best effort"
>> とかいう語感からユーザが期待するものとは確かに違うんですよね。
>> 名前が悪いから「言葉遊び」と感じるんじゃないかと思います。
>> もっと...
mame (Yusuke Endoh)
09:23 PM Bug #5094: Supported platforms of Ruby 1.9.3
遠藤です。

2011年7月26日20:49 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> 個人的な結論としてはリリースは「したいからする」ものであって、それ
> 以上の理由をつけるのはおためごかしだなあと思っている次第ですので、

おためごかし = 表面は人のためにするように見せかけて、実は自分の利益を図ること。

よく意味がわかりませんでした。自分の利益?
自己満足ってことかな。ボランティ...
mame (Yusuke Endoh)
09:23 PM Bug #5094: Supported platforms of Ruby 1.9.3
遠藤です。

2011年7月26日20:49 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> 個人的な結論としてはリリースは「したいからする」ものであって、それ
> 以上の理由をつけるのはおためごかしだなあと思っている次第ですので、

おためごかし = 表面は人のためにするように見せかけて、実は自分の利益を図ること。

よく意味がわかりませんでした。自分の利益?
自己満足ってことかな。ボランティ...
mame (Yusuke Endoh)
08:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
(07/26/2011 12:38 PM), Yusuke ENDOH wrote:
> 遠藤です。
>
> 2011年7月26日9:57 Urabe Shyouhei <shyouhei@ruby-lang.org>:
>> サポートとかやめましょう。無意味。どうせ俺らただのボランティアだし。
>> 「がんばります」以上に実効性のあることは言えないでしょ。
>> それperhapsと何がどう違うん。
>
> サポートプランは「この...
shyouhei (Shyouhei Urabe)
08:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
(07/26/2011 12:38 PM), Yusuke ENDOH wrote:
> 遠藤です。
>
> 2011年7月26日9:57 Urabe Shyouhei <shyouhei@ruby-lang.org>:
>> サポートとかやめましょう。無意味。どうせ俺らただのボランティアだし。
>> 「がんばります」以上に実効性のあることは言えないでしょ。
>> それperhapsと何がどう違うん。
>
> サポートプランは「この...
shyouhei (Shyouhei Urabe)
07:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
(2011/07/26 12:38), Yusuke ENDOH wrote:
> ただそれは、「サポートプラン」とか "supported" とか "best effort"
> とかいう語感からユーザが期待するものとは確かに違うんですよね。
> 名前が悪いから「言葉遊び」と感じるんじゃないかと思います。
> もっといい名前があれば変えるといいと思います。まさに言葉遊びですが。

わたしは Support Level 1 とか Tier 1 ...
naruse (Yui NARUSE)
07:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
(2011/07/26 12:38), Yusuke ENDOH wrote:
> ただそれは、「サポートプラン」とか "supported" とか "best effort"
> とかいう語感からユーザが期待するものとは確かに違うんですよね。
> 名前が悪いから「言葉遊び」と感じるんじゃないかと思います。
> もっといい名前があれば変えるといいと思います。まさに言葉遊びですが。

わたしは Support Level 1 とか Tier 1 ...
naruse (Yui NARUSE)
12:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
遠藤です。

2011年7月26日9:57 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> サポートとかやめましょう。無意味。どうせ俺らただのボランティアだし。
> 「がんばります」以上に実効性のあることは言えないでしょ。
> それperhapsと何がどう違うん。

サポートプランは「この環境でテストが動かないならリリースできない」
という基準として、1.9.2 リリースの際は重宝しましたよ。
...
mame (Yusuke Endoh)
12:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
遠藤です。

2011年7月26日9:57 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> サポートとかやめましょう。無意味。どうせ俺らただのボランティアだし。
> 「がんばります」以上に実効性のあることは言えないでしょ。
> それperhapsと何がどう違うん。

サポートプランは「この環境でテストが動かないならリリースできない」
という基準として、1.9.2 リリースの際は重宝しましたよ。
...
mame (Yusuke Endoh)
12:02 PM Bug #5094: Supported platforms of Ruby 1.9.3
あ、今見たら8分前に英語版が追加されている・・・ mrkn (Kenta Murata)
12:01 PM Bug #5094: Supported platforms of Ruby 1.9.3
Yui NARUSE wrote:
> * Mac OS X (LLVM絡みが微妙)
引き取ります。
そして、1.9.3, 1.9.2, 1.8.7 は llvm-gcc には非対応であると公式アナウンスしましょう。
# と言いつつも、まだ chkbuild を復活できていないのですが・・・
些細な疑問ですが、このスレは日本語でいいの?
mrkn (Kenta Murata)
11:53 AM Bug #5094: Supported platforms of Ruby 1.9.3
2011年7月26日8:45 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
> 逆に Debian 4.0 をperhapsに落とすことを提案します。Windowsのサービスパックだって要求ハードウェアのレベルが
> 上がったりするぐらいなんだからゆるされると思います。
> Debian 4.0は「誰も確認してないけど、非互換いれてないからたぶん動きます」という状態でこれはperhaps以外の何者でもないと思いま...
naruse (Yui NARUSE)
11:53 AM Bug #5094: Supported platforms of Ruby 1.9.3
2011年7月26日8:45 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
> 逆に Debian 4.0 をperhapsに落とすことを提案します。Windowsのサービスパックだって要求ハードウェアのレベルが
> 上がったりするぐらいなんだからゆるされると思います。
> Debian 4.0は「誰も確認してないけど、非互換いれてないからたぶん動きます」という状態でこれはperhaps以外の何者でもないと思いま...
naruse (Yui NARUSE)
11:23 AM Bug #5094: Supported platforms of Ruby 1.9.3
成瀬です。

2011年7月26日9:57 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> サポートとかやめましょう。無意味。どうせ俺らただのボランティアだし。
> 「がんばります」以上に実効性のあることは言えないでしょ。
> それperhapsと何がどう違うん。

チケットの押し付け先があるかどうかが主たる違いです。
言い換えれば、直らないバグがあった場合に、誰かに assign された状態になる...
naruse (Yui NARUSE)
11:23 AM Bug #5094: Supported platforms of Ruby 1.9.3
成瀬です。

2011年7月26日9:57 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> サポートとかやめましょう。無意味。どうせ俺らただのボランティアだし。
> 「がんばります」以上に実効性のあることは言えないでしょ。
> それperhapsと何がどう違うん。

チケットの押し付け先があるかどうかが主たる違いです。
言い換えれば、直らないバグがあった場合に、誰かに assign された状態になる...
naruse (Yui NARUSE)
09:59 AM Bug #5094: Supported platforms of Ruby 1.9.3
卜部です

サポートとかやめましょう。無意味。どうせ俺らただのボランティアだし。
「がんばります」以上に実効性のあることは言えないでしょ。
それperhapsと何がどう違うん。

、という主張はつねづね申し上げている話であってべつに新規性はございません
が今回も一応申し上げておく次第です。言葉遊び楽しいけど、それ以上になって
ないですよ。現状は。
shyouhei (Shyouhei Urabe)
08:53 AM Bug #5094: Supported platforms of Ruby 1.9.3
> == 成瀬の提案
>
> さて、前回のサポートプラットフォーム決めでいくつか反省があるので、ここに一つ提案を行います。
>
>> なお、「メンテナがいる」とは明確なプラットフォームメンテナがいるもの(mswin32など)のほかに、「日々その環境でRubyを開発しているコミッタがいるもの」を含む。
>
> この後半を削ることを提案します。
> 例として、Debian はいまだに lenny 32bit が対象になってしまっています。
...
kosaki (Motohiro KOSAKI)
06:53 AM Bug #5094: Supported platforms of Ruby 1.9.3
> 逆にメンテナがいない主なプラットフォーム(と備考)は以下の通りです。
> * Debian
> * Ubuntu
> * CentOS
> * Mac OS X (LLVM絡みが微妙)
> * cygwin (動かない)
> * NetBSD (動く)
> * OpenBSD (動かない気がする)
> * DragonFlyBSD (動かない)

Best Effortレベルですが RHEL/CentOSは僕がやろうかと思っ...
kosaki (Motohiro KOSAKI)
05:53 AM Bug #5094: Supported platforms of Ruby 1.9.3
金本と申します。

Best Effortレベルですが、AIX環境での調査・対応は引き続き担当させていただきたいです。
よろしくお願いします。

2011年7月26日0:15 Yui NARUSE <naruse@airemix.jp>:

> サポートしたいプラットフォームがある方は宣言してください。
> ただし、当該プラットフォーム固有っぽいバグがあった場合、そのチケットをアサインする事があるので、
> 覚悟を決めてから宣言し...
kanemoto (Yutaka Kanemoto)
12:22 AM Bug #5094: Supported platforms of Ruby 1.9.3
かねてからの予告どおり、mswin32とmswin64は1.9.3では私がメンテを継続します。
つか失敗したな。1.9.3が死ぬまでメンテしないといけないじゃん……。
usa (Usaku NAKAMURA)
12:15 AM Bug #5094 (Closed): Supported platforms of Ruby 1.9.3
はい、リリース前恒例! サポートプラットフォーム決めのお時間がやって参りました。
前回は 1.9.1 リリース時だったわけですが、あれからずいぶんと経ったので、
改めてサポートするプラットフォームを決めましょう。
== これまでのあらすじ
http://redmine.ruby-lang.org/projects/ruby-19/wiki/SupportedPlatformsJa
== 決め方
サポートしたいプラットフォームがある方は宣言...
naruse (Yui NARUSE)
10:45 PM Bug #5093: DEBUGGER__::Context#debug_print_help に表示されないオプション
パッチのrestartは、正しくは「r[estart]」でした。修正したパッチをアタッチしておきます。 sho-h (Sho Hashimoto)
10:19 PM Feature #5097: Supported platforms of Ruby 1.9.3
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 responsibility exactly entails, but I'd be happy to help organize, make a best effort at patching bugs, and provide build... steveklabnik (Steve Klabnik)
07:59 PM Feature #5097: Supported platforms of Ruby 1.9.3
> I volunteer to officially support Ruby on OpenBSD.  I'm an OpenBSD developer and already maintain the OpenBSD port for Ruby (both 1.8.7 and 1.9.2) as well as the OpenBSD ports for Rubinius and JRuby.

Great!

May I request one mo...
kosaki (Motohiro KOSAKI)
07:53 PM Feature #5097: Supported platforms of Ruby 1.9.3
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 is reported, it will be assigned to you.
>
> <snip>
>
...
kosaki (Motohiro KOSAKI)
03:53 PM Feature #5097: Supported platforms of Ruby 1.9.3
On Mon, Jul 25, 2011 at 8:52 PM, Yui NARUSE <naruse@airemix.jp> wrote:

> * Ubuntu

I can volunteer to help with Ubuntu, if you need it.


Kirk Haines
wyhaines (Kirk Haines)
01:08 PM Feature #5097: Supported platforms of Ruby 1.9.3
I volunteer to officially support Ruby on OpenBSD. I'm an OpenBSD developer and already maintain the OpenBSD port for Ruby (both 1.8.7 and 1.9.2) as well as the OpenBSD ports for Rubinius and JRuby. jeremyevans0 (Jeremy Evans)
12:53 PM Feature #5097: Supported platforms of Ruby 1.9.3
Yui NARUSE <naruse@airemix.jp> wrote:
> If you want to support a platform, please declare.
> But when a platform dependent bug is reported, it will be assigned to you.

<snip>

> RHEL, CentOS
> KOSAKI Motohiro

5.x o...
normalperson (Eric Wong)
11:52 AM Feature #5097 (Closed): Supported platforms of Ruby 1.9.3
Let's decide the supported platforms.
== Background
http://redmine.ruby-lang.org/projects/ruby-19/wiki/SupportedPlatforms
== Process
If you want to support a platform, please declare.
But when a platform dependent bug is rep...
naruse (Yui NARUSE)
10:10 PM Feature #4969: Subtle issue with require
Your require_ruby seems to load nothing. Missed to paste?
Anyway, the behavior does not seem a bug.
It might be a feature request, though I'm not sure what you are suggesting.
nobu (Nobuyoshi Nakada)
09:42 PM Bug #5098 (Closed): bigdecimal/util.rb で定義される to_d メソッドによる型変換と、BigDecimal 関数による型変換が整合していない
BigDecimal() および BigDecimal#coerce との関係より、以下のように修正が必要。
- Float#to_d はオプショナルな精度を受け付けるように変更し、精度が省略された場合は Float::DIG が指定されたものとする。
- Rational#to_d は精度を必須とする。
- Integer#to_d を追加する。
mrkn (Kenta Murata)
04:29 PM Feature #5064: HTTP user-agent class
2011/7/26 Eric Hodel <drbrain@segment7.net>:

> If you are having problems with DNS blocking then require 'resolv/replace' to get non-blocking DNS lookups. Non-blocking DNS in ruby has been available back to 1.6.

Ruby invokes ...
akr (Akira Tanaka)
04:09 PM Feature #5064: HTTP user-agent class
There is no longer a problem with timeouts in Net::HTTP as timeout is no longer used for reads. If you are connecting so fast that timeout is a greater problem than the three-way TCP handshakes and slow-start I think there may be a prob... drbrain (Eric Hodel)
10:44 AM Feature #5064: HTTP user-agent class
I think this is a good API which will avoid the need for a third party library for API convenience. (You didn't go into detail about 'timeout' configuration, but a SINGLE timeout param should exist, possibly along with separate read/open... jrochkind (jonathan rochkind)
04:12 AM Feature #5064: HTTP user-agent class
I have had discussions where people say "Net::HTTP's API is not very good" and people seem to want a better way to use Net::HTTP without trying out one of the many Net::HTTP::Agent-like extensions to the base API.
Having a recommended...
drbrain (Eric Hodel)
04:27 PM Revision 04749b12 (git): * NEWS: add changes of bigdecimal and bigdecimal/util.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
04:17 PM Revision 34fcd440 (git): * vm_method.c (rb_gc_mark_unlinked_live_method_entries): remove unused
variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:17 PM Revision 2621ba04 (git): Merge revisions 32676, 32677, 32679, 32680:
* ext/bigdecimal/lib/bigdecimal/util.rb (Rational#to_d):
zero or negative precision is error. fixes #5098.
[ruby-dev:44210]
* ext/bigdecimal/lib/bigdecimal/util.rb (Float#to_d): modified for
specifying precision. ...
Kenta Murata
04:09 PM Feature #5096: offer Logger-compatibility for syslog ext
Where is a patch or the repository?
Anyway such enhancement should be introduced as a patch to trunk.
We are hard to understand the actual change of this feature.
Moreover adding a new library or replacing a library is hard to acc...
naruse (Yui NARUSE)
09:10 AM Feature #5096: offer Logger-compatibility for syslog ext
I would be happy to import my SyslogLogger gem, but I need someone to decide if it is ok first. drbrain (Eric Hodel)
08:20 AM Feature #5096: offer Logger-compatibility for syslog ext
Bah, I submitted the bug before I finished typing :<
Title should be: "offer Logger-compatibility for syslog ext"
Priority should be: Low
There's http://rubygems.org/gems/SyslogLogger, but I would like to have
ths compatibility b...
normalperson (Eric Wong)
08:16 AM Feature #5096 (Closed): offer Logger-compatibility for syslog ext
There's http://rubygems.org/gems/SyslogLogger, but I would like to have
ths compatibility by default. Having to remember to install the
oddly-capitalized SyslogLogger gem makes things harder than it should
be.
Importing the Syslog...
normalperson (Eric Wong)
04:05 PM Revision 8603c593 (git): * eval_error.c (rb_print_undef_str): new function to raise
NameError for undefined method.
* load.c (rb_mod_autoload_p), object.c (rb_mod_const_get),
variable.c (rb_f_untrace_var, set_const_visibility), vm_method.c
(rb_mod_{remove,undef,alias}_method, set_method_visibility):
remove inadver...
nobu (Nobuyoshi Nakada)
04:05 PM Revision 298349d0 (git): * vm_method.c (obj_respond_to): fix the respond_to_missing? override
case. based on the patch by Jeremy Evans at [ruby-core:38417].
[Feature #5072]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:05 PM Revision 3fbc65d4 (git): * parse.y (rb_check_id): make the given name a symbol or a string.
based on the second patch by Jeremy Evans at [ruby-core:38447]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:02 PM Feature #2567: Net::HTTP does not handle encoding correctly
The problem is not so much forcing the user to figure out how to get correct encoding (charset) but making sure the encoding returned is accurate. If we can add this feature to Net::HTTP in a way that works for most cases that's great. ... drbrain (Eric Hodel)
10:56 AM Feature #2567: Net::HTTP does not handle encoding correctly
how else is a developer/client going to figure out the encoding EXCEPT from the HTTP server response content-type? You pretty much need to set the encoding in ruby 1.9 for the response to be useable. If the Content-Type isn't trustwort... jrochkind (jonathan rochkind)
03:54 PM Revision a3edf1a4 (git): * 2011-07-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:54 PM Revision 1d0cef8f (git): Merge revision 32674:
* bigdecimal/bigdecimal.c (VpDup) a new function for duplicating
a BigDecimal.
* bigdecimal/bigdecimal.c (BigDecimal_new): support generating a new
BigDecimal from another BigDecimal using BigDecimal global function
...
Kenta Murata
03:53 PM Revision de7e116e (git): * property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:49 PM Revision dca0b417 (git): * ext/bigdecimal/lib/bigdecimal/util.rb (Rational#to_d):
zero or negative precision is error. fixes #5098.
[ruby-dev:44210]
* test/bigdecimal/test_bigdecimal_util.rb: add test for the above
change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
03:48 PM Revision 079fb8d4 (git): * ext/bigdecimal/lib/bigdecimal/util.rb (Float#to_d): modified for
specifying precision. fixes #5098. [ruby-dev:44210]
* test/bigdecimal/test_bigdecimal_util.rb: add test for the above
change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
03:48 PM Revision 2fd6b266 (git): * property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:46 PM Revision 2fcb91c7 (git): * ext/bigdecimal/lib/bigdecimal/util.rb (Integer#to_d): added
for symmetry to BigDecimal() function with an Integer.
fixes #5098. [ruby-dev:44210]
* test/bigdecimal/test_bigdecimal_util.rb: add test for the above
change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32677 b2dd03c8-39d4-4d...
Kenta Murata
03:40 PM Revision 5ba05758 (git): * ext/bigdecimal/lib/bigdecimal/util.rb (BigDecimal#to_d): added
for adapting other Numeric subclasses. [ruby-dev:44245]
* test/bigdecimal/test_bigdecimal_util.rb: test for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
03:40 PM Revision a987000b (git): * 2011-07-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:40 PM Revision a2381407 (git): * bigdecimal/bigdecimal.c (VpDup) a new function for duplicating
a BigDecimal.
* bigdecimal/bigdecimal.c (BigDecimal_new): support generating a new
BigDecimal from another BigDecimal using BigDecimal global function
or constructor. [ruby-dev:44245]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
Kenta Murata
03:25 PM Bug #2768: SEGV when using OpenSSL::Cipher (AES) in certain way
This patch should fix the SEGV. Still giving much thought whether it's safe to apply or not...
Index: ext/openssl/ossl_cipher.c
===================================================================
--- ext/openssl/ossl_cipher.c (revis...
nahi (Hiroshi Nakamura)
02:37 PM Revision 710dc1af (git): * array.c: Fix typo. https://github.com/ruby/ruby/pull/36
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
11:57 AM Bug #372: Rinda has a race condition
> 1) Failure:
> ...
非常にごくまれに(1回も再現できていません)trunk でもこれが起きることがあるようです。
1) Failure:
test_core_03_notify(Rinda::TupleSpaceTest) [/export/home/ksmakoto/ruby-working/ruby194/ruby-git/test/rinda/test_rinda.rb:398]:
<[0, 3]> expected but...
metanest (Makoto Kishimoto)
08:50 AM Bug #5060 (Closed): Executables in bin folder conflict with their gem versions.
Since I committed r32608 and r32611 I think this issue is now invalid.
If a different version of rake or rdoc are installed they will behave the same as the bundled library. rake _0.9.2.1_ will load the built-in version of rake, for ...
drbrain (Eric Hodel)
12:24 AM Bug #4957 (Closed): IO.copystream seems make hangup on cygwin (was 2011-07-01 Snapshot build)
#5055 で情報更新されているように思えるので close します naruse (Yui NARUSE)
12:24 AM Bug #5027 (Closed): Snapshot(2011-07-14) Build Test Error @Cygwin
#5055 で情報更新されているように思えるので close します naruse (Yui NARUSE)

07/25/2011

11:53 PM Bug #5047: Segfault (most likely involving require)
2011/7/25 Eric Wong <normalperson@yhbt.net>:
> We can pre-allocate the unlinked_method_entry_list_entry struct
> in the METHOD struct and then push it into unlinked_method_entry_list
> in bm_free (untested patch below):

I see...
mame (Yusuke Endoh)
11:29 PM Bug #5047 (Closed): Segfault (most likely involving require)
This issue was solved with changeset r32669.
Jack, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* proc.c (struct METHOD), gc.c (gc_marks), vm_method.c
(rb_gc_m...
mame (Yusuke Endoh)
11:23 PM Bug #5047: Segfault (most likely involving require)
Yusuke ENDOH <mame@tsg.ne.jp> wrote:
> 2011/7/25 Eric Wong <normalperson@yhbt.net>:
> > sidenote: I didn't realize xmalloc() (via rb_unlink_method_entry) is
> > safe/allowed inside bm_free(); but apparently it's only rb_new_obj()
...
normalperson (Eric Wong)
10:29 PM Bug #5047: Segfault (most likely involving require)
Thank you for the trying the patch.
Nobu pointed out that the patch may cause memory leak.
I'll commit a revised version soon.


2011/7/25 Eric Wong <normalperson@yhbt.net>:
> sidenote: I didn't realize xmalloc() (via rb_unl...
mame (Yusuke Endoh)
08:38 AM Bug #5047: Segfault (most likely involving require)
> > With the patch, both trunk and ruby_1_9_3 run without SEGV. My hat's off to you for your exhausting job.
> ...
Me too. You are great.
Offtopic: now 1.9.3 have two high priority (i.e. crash related) bug, #5039 and this. And this w...
kosaki (Motohiro KOSAKI)
07:29 AM Bug #5047: Segfault (most likely involving require)
(2011/07/25 6:35), Hiroshi Nakamura wrote:
> With the patch, both trunk and ruby_1_9_3 run without SEGV. My hat's off to you for your exhausting job.

Me too. Thanks a lot.

--
// SASADA Koichi at atdot dot net
ko1 (Koichi Sasada)
06:34 AM Bug #5047: Segfault (most likely involving require)
Yusuke Endoh wrote:
> I probably managed to fix this issue.
> ...
With the patch, both trunk and ruby_1_9_3 run without SEGV. My hat's off to you for your exhausting job.
nahi (Hiroshi Nakamura)
03:23 AM Bug #5047: Segfault (most likely involving require)
Yusuke Endoh <mame@tsg.ne.jp> wrote:
> I probably managed to fix this issue.
> Could anyone try the attached patch?

Seems to work for me.

<snip>
Explanation is good and makes sense to me. Thanks!

sidenote: I didn't...
normalperson (Eric Wong)
11:44 PM Bug #5093 (Closed): DEBUGGER__::Context#debug_print_help に表示されないオプション
debug ライブラリの help で以下のコマンドが表示されないようです。
* pp
* restart
パッチをアタッチしますので、よかったら取り込んでやってください。
sho-h (Sho Hashimoto)
10:49 PM Bug #2768 (Assigned): SEGV when using OpenSSL::Cipher (AES) in certain way
nahi (Hiroshi Nakamura)
10:26 PM Bug #5046 (Closed): Bug with xmlrpc::client, basic auth and long authentication strings
Fixed trunk at r32666 and ruby_1_9_3 at r32668. Thanks! nahi (Hiroshi Nakamura)
07:10 PM Bug #5046 (Assigned): Bug with xmlrpc::client, basic auth and long authentication strings
nahi (Hiroshi Nakamura)
09:48 PM Feature #5088: Refactor and Document vm_method.c / method.h
=begin
You can follow the rework on this location:
((<URL:https://github.com/lazaridis-com/ruby/tree/refactor_vm_method>))
What is the preferred method? Sending refactoring patches one-by-one for commit, or as a one big patch wh...
lazaridis.com (Lazaridis Ilias)
09:29 PM Bug #4934: winsock listen backlog may only be set once, and is set to 5
2011/7/25 Usaku NAKAMURA <redmine@ruby-lang.org>:

> About default value of TCPServer#initialize, I have no opinion.
> akr-san, how do you think about this?

I feel we can challenge SOMAXCONN for trunk (but not for 1.9.3).
-...
akr (Akira Tanaka)
08:03 PM Bug #4934 (Assigned): winsock listen backlog may only be set once, and is set to 5
About the socketpair implimentation of ruby on windows,
I reject your patch.
It accepts only one connection internally, so there is no
need to expand the backlog.
About default value of TCPServer#initialize, I have no opinion.
akr...
usa (Usaku NAKAMURA)
09:05 PM Feature #5054 (Closed): Compress a sequence of ends
One week has passed since the RubyKaigi in which "ennnnnd" was born came to the end. So, I hesitate to say, it's time to close this joke. Yes, this is a JOKE. I'm so sorry Ralph. Honestly your request seems not too bad for me. If you sti... technohippy (Yasushi ANDO)
08:19 PM Bug #1341 (Feedback): pthread_cond_timedwait failing in 1.9.1-p0 thread tests on HP-UX 11i v2
Feedback about HP-UX is welcome naruse (Yui NARUSE)
08:16 PM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
This issue is not a bug, but needs a discussion about new ideal feature. naruse (Yui NARUSE)
08:15 PM Feature #4057: FileUtils.copy with FIFOs and Special Devices
That code seems a preparation of feature extension about FIFOs. naruse (Yui NARUSE)
08:13 PM Bug #4909 (Assigned): trapハンドラは再入されてはいけないのではないか?
naruse (Yui NARUSE)
08:12 PM Bug #4991 (Assigned): Add a method to retrieve raw data from GC::Profiler
naruse (Yui NARUSE)
08:11 PM Bug #5081 (Assigned): LionでTestSyslog が一件 failure
naruse (Yui NARUSE)
08:10 PM Bug #4989 (Assigned): Document Socket constants
naruse (Yui NARUSE)
08:08 PM Bug #4957 (Feedback): IO.copystream seems make hangup on cygwin (was 2011-07-01 Snapshot build)
naruse (Yui NARUSE)
08:08 PM Bug #5027 (Feedback): Snapshot(2011-07-14) Build Test Error @Cygwin
メンテナがいないので、パッチ待ちという形になります。
ご了承くださいませ。
naruse (Yui NARUSE)
08:07 PM Bug #5050 (Feedback): unable remap error when 'make test' on cygwin
naruse (Yui NARUSE)
08:06 PM Bug #5055 (Feedback): ruby-1.9.2-p290 Test Error @Cygwin
naruse (Yui NARUSE)
08:06 PM Bug #5060 (Assigned): Executables in bin folder conflict with their gem versions.
naruse (Yui NARUSE)
08:05 PM Bug #5080 (Closed): Array class rdoc documentation revisions
naruse (Yui NARUSE)
08:04 PM Bug #5059 (Closed): Mailing List
Hi,
You are added by admin.
Sorry for patience and enjoy this ML.
naruse (Yui NARUSE)
08:01 PM Bug #4769 (Rejected): Updated SMTP standards
This patch is not acceptable without further investigation of RFC and implementation of lacked features.
At least some syntax is changed by RFC5321/RFC5322.
naruse (Yui NARUSE)
07:57 PM Feature #4969 (Feedback): Subtle issue with require
naruse (Yui NARUSE)
07:49 PM Bug #3787 (Closed): TCPSocket.new() fails on IPv6 connections for IPV4/IPv6 hosts
I close this as Rejected since no feedback provided.
Please reopen this if it still happens on the latest version of ruby.
naruse (Yui NARUSE)
07:36 PM Bug #4639 (Rejected): net http segmentation fault in ruby 1.9.2-head/1.9.2-p180
The stacktrace looks quite similar to #4611. I close this as duplicate of #4611. Please see #4611 and let us know if it's not the same issue. Thanks! nahi (Hiroshi Nakamura)
07:08 PM Bug #4639 (Assigned): net http segmentation fault in ruby 1.9.2-head/1.9.2-p180
nahi (Hiroshi Nakamura)
06:00 PM Feature #5064: HTTP user-agent class
=begin
NOTE: #2567 can be implemented as a part of this proposal.
=end
naruse (Yui NARUSE)
04:13 AM Feature #5064: HTTP user-agent class
Interesting proposal.
I also sometimes make such agent so I agree the concept.
(there is still a question: why stdlib)
NOTE: [ruby-core:38158] may be related.
naruse (Yui NARUSE)
04:04 PM Bug #4961: [ext/openssl] SSLSession#initialize fails with OpenSSL 0.9.7
Martin Bosslet wrote:
> OK, I found it. The Base64-encoded session in test_ssl_session.rb contains the field
> ...
My bad. It's me who added the test data... Thank you.
nahi (Hiroshi Nakamura)
03:59 PM Bug #5039 (Closed): Re: socket related errors on chkbuild
田中さんの書かれているように、#4923の件と同じでした(#4923は、最初に登録されていたエラーと、途中から議論していたエラーがすり替わっており、その後者と、今回boronで発生するようになったエラーが同じでした)。
SSLSocket#closeでOpenSSLのSSL_shutdown()を呼んでいるんですが、返ってきた後のエラーチェック(およびOpenSSL側エラースタックのクリア)をしていませんでした。使う理由もないので、trunkはr32685、rub...
nahi (Hiroshi Nakamura)
03:18 PM Revision a18b03c9 (git): * 2011-07-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:17 PM Revision da5b7f92 (git): * 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/trunk@32671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
02:40 PM Revision 71ff558e (git): * test/rake/test_rake_directory_task.rb (TestRakeDirectoryTask#
test_directory_win32): fixed wrong test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:29 PM Revision 9a272395 (git): * 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 because
rb_method_entry_t is embedded in struct METHOD....
mame (Yusuke Endoh)
01:25 PM Revision 798355f6 (git): * backport r32666 from trunk.
* lib/xmlrpc/client.rb: Fix possible HTTP header formatting failure by
'Basic' header. Long username caused the base64 String truncation in
HTTP header which is not allowed. See #5046.
* test/xmlrpc/test_webrick_server.rb: test it.
...
Hiroshi Nakamura
01:23 PM Revision f23ad92a (git): * forgot to add a test fixture file in r32666.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Hiroshi Nakamura
01:21 PM Revision 2fff0f4f (git): * lib/xmlrpc/client.rb: Fix possible HTTP header formatting failure by
'Basic' header. Long username caused the base64 String truncation in
HTTP header which is not allowed. See #5046.
* test/xmlrpc/test_webrick_server.rb: test it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32666 b2dd03c8-39d4-4...
Hiroshi Nakamura
12:43 PM Bug #4923: [ext/openssl] test_ssl.rb: test_client_auth fails
While investigating #5039, I found that SSL_shutdown() could add something to global error stack in OpenSSL < 0.9.8m, possibly related the OpenSSL 0.9.8m fix Martin posted above. Based on my investigation, that's the reason why 'bad writ... nahi (Hiroshi Nakamura)
12:17 PM Bug #5091 (Rejected): Can't require './.testrb'
nobu (Nobuyoshi Nakada)
12:03 PM Bug #5091: Can't require './.testrb'
My bad. Apparently I was in a variant quantum universe earlier today. trans (Thomas Sawyer)
09:17 AM Bug #5091: Can't require './.testrb'
For require the filename must end in .rb, .so, .dll, .dylib, etc.
load will work with any file extension.
drbrain (Eric Hodel)
07:40 AM Bug #5091 (Rejected): Can't require './.testrb'
Just ran across this oddity. I made a local configuration file called `.testrb`, but I can't require it.
> require './.testrb'
LoadError: no such file to load -- ./.testrb
Just to make sure I did not mess up somehow, I renamed...
trans (Thomas Sawyer)
10:28 AM Bug #5090: Segfault using Enumerator
$ export optflags="-O0 -ggdb"
$ rvm install 1.9.2-p290
$ ruby bug_report.rb bug_report.rb bug_report.rb
Everything works as expected. I should have just tried with the latest patchlevel before submitting the report. Sorry guys! Clos...
robsyme (Robert Syme)
01:23 AM Bug #5090: Segfault using Enumerator
On 24 July 2011 16:30, Robert Syme <rob.syme@gmail.com> wrote:
> I notice that gdb reports "no debugging symbols found". Do I need to recompile ruby for this to work? Do I need to provide a particular flag to configure, and if so, what...
Eregon (Benoit Daloze)
08:41 AM Bug #5082 (Assigned): test_context_switch(TestMarshal) was failed on OS X 10.7 (Lion)
1.9.3は llvm-gcc を使わないことに決めたので。ターゲットを1.9.4に変更します kosaki (Motohiro KOSAKI)
06:38 AM Revision e68c8979 (git): * ext/openssl/lib/openssl/{x509.rb,ssl.rb}: Add deprecation warning
for openssl/{x509,ssl} usage. Users should require "openssl" instead
of "openssl/ssl" and "openssl/x509". Start of transition period
introduced by [ruby-dev:38018].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32...
Hiroshi Nakamura
06:30 AM Revision 0a9b952c (git): * ext/openssl/lib/openssl.rb: End of transition period introduced by
[ruby-dev:38018]. From the next version of 1.9.3, you should use
require "openssl"
instead of
require "openssl/ssl"
and
require "openssl/x509"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32664 b2dd03c8-39d4-4d8f-9...
Hiroshi Nakamura
04:51 AM Revision 8ca65367 (git): * backport r32662 from trunk.
* ext/openssl/lib/openssl/x509.rb: Cosmetic change: move definition
introduced in r30152 to x509-internal.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Hiroshi Nakamura
04:49 AM Revision 8c30497a (git): * ext/openssl/lib/openssl/x509.rb: Cosmetic change: move definition
introduced in r30152 to x509-internal.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Hiroshi Nakamura
04:36 AM Revision ca9f3219 (git): * 2011-07-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:36 AM Revision b409d22e (git): * backport r32658 from trunk.
* ext/openssl/ossl_ssl.c (ossl_ssl_shutdown): Avoid randomly generated
SSLError from SSLSocket just after invoking SSLSocket#close.
OpenSSL's SSL_shutdown could try to send alert packet and it might
set SSLerr(global error stack) a...
Hiroshi Nakamura
04:30 AM Revision e80d1f8f (git): * 2011-07-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:30 AM Revision 6c8a2fe2 (git): * ext/openssl/ossl_ssl.c (ossl_ssl_shutdown): Avoid randomly generated
SSLError from SSLSocket just after invoking SSLSocket#close.
OpenSSL's SSL_shutdown could try to send alert packet and it might
set SSLerr(global error stack) as the result. It causes the next
SSL read/write operation to fail by un...
Hiroshi Nakamura

07/24/2011

11:55 PM Feature #4893: Literal Instantiation breaks Object Model
Nobuyoshi Nakada wrote:
> Calling a hook from rb_str_new() is insane.
Mr. Nakada, when the influence of the alcohol goes away, look once more at the code.
Possibly you'll see that I don't call any hooks. It's the existent code, no...
lazaridis.com (Lazaridis Ilias)
10:23 PM Feature #4893 (Rejected): Literal Instantiation breaks Object Model
Calling a hook from rb_str_new() is insane. nobu (Nobuyoshi Nakada)
02:13 PM Feature #4893: Literal Instantiation breaks Object Model
=begin
Related issue: #5088 (Refactor and Document vm_method.c / method.h)
=end
lazaridis.com (Lazaridis Ilias)
11:37 PM Bug #5090: Segfault using Enumerator
Umm, thanks. But I have no idea :-)
gcc -g generates binary with debugging symbol.
But I think that the option is set by default if you build it from a tarball.
I'm not sure if rvm might tweak build option. I'm not familiar with...
mame (Yusuke Endoh)
11:30 PM Bug #5090: Segfault using Enumerator
I notice that gdb reports "no debugging symbols found". Do I need to recompile ruby for this to work? Do I need to provide a particular flag to configure, and if so, what flag? Sorry for my ignorance, this is my first ruby bug report. robsyme (Robert Syme)
11:23 PM Bug #5090: Segfault using Enumerator
$ gdb --args ruby bug_report.rb bug_report.rb bug_report.rb
GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-32.el5_6.2)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/license...
robsyme (Robert Syme)
11:13 PM Bug #5090: Segfault using Enumerator
Could you show gdb backtrace?
$ gdb --args ruby bug_report.rb bug_report.rb bug_report.rb
(gdb) run
(gdb) bt
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
10:39 PM Bug #5090 (Closed): Segfault using Enumerator
Running bug_report.rb on my laptop simply raises a StopIteration as expected, but running it on a compute cluster node (Intel Xeon 2.93 GHz - Nehalem series) generates a segfault (below, and in "gcc and output.txt" when getting the next ... robsyme (Robert Syme)
10:50 PM Feature #5065: Allow "}" as an alternative to "end"
Yasushi ANDO wrote:
[...]
> No offense is meant but you may recognize "Category set to Joke" as almost rejection.
Then make it "Status: Joke?".
lazaridis.com (Lazaridis Ilias)
01:47 PM Feature #5065: Allow "}" as an alternative to "end"
Yasushi ANDO wrote:
> The same kinds of requests as "endall" are being discussed on #5054 which is set to Joke. So "endall" can be a joke.
I do not make jokes on a issue-tracking-system of a programming language (I made them on the ...
lazaridis.com (Lazaridis Ilias)
09:09 PM Bug #5047: Segfault (most likely involving require)
I probably managed to fix this issue.
Could anyone try the attached patch?
ko1: May I commit it?
This problem is caused by the combination of the wrong design
of Method class and lack of YARV method entry marking, with
obfuscate...
mame (Yusuke Endoh)
12:23 PM Bug #5047: Segfault (most likely involving require)
2011/7/24 Yusuke ENDOH <mame@tsg.ne.jp>:
> If you need to work around this issue right now, the following patch
> for activesupport might work.

FYI, Aaron fixed activesupport in trunk so quickly :-)

https://github.com/rail...
mame (Yusuke Endoh)
12:23 PM Bug #5047: Segfault (most likely involving require)
Follow-up.

I found activesupport uses UnboundMethod and #bind to check whether
a class instance is singleton or not.


102 def singleton_class?
103 # in case somebody is crazy enough to overwrite allocate
104 ...
mame (Yusuke Endoh)
10:53 AM Bug #5047: Segfault (most likely involving require)
Hello,

Thank you for the reproducing process. I could also comfirmed it.
This is one of the most difficult bug that I have seen...

In short, I've not solved this issue, but I found valgrind with -O0
enlightens us the (maybe) im...
mame (Yusuke Endoh)
09:30 AM Bug #5047: Segfault (most likely involving require)
Random note;
* SEGV on trunk, ruby_1_9_3 and 1.9.2-p280
* SEGV on x86_64-linux but NOT on x86_64-darwin10.8.0 according to @nagachika
* SEGV at GC mark or sweep, and the broken object looks like a singleton class object
* SEGV ca...
nahi (Hiroshi Nakamura)
04:16 PM Feature #5088: Refactor and Document vm_method.c / method.h
=begin
hemant kumar wrote:
> @Ilias,
> ...
Mr. Kumar, I don't know who you are, but the rule you state is not existent within this project.
> and with due respect - wastes Ruby-Core valuable time.
I guess it distracts the list ...
lazaridis.com (Lazaridis Ilias)
02:31 PM Feature #5088: Refactor and Document vm_method.c / method.h
@Ilias,
Please submit any improvement with a patch. It is pointless to open a request without a patch and with due respect - wastes Ruby-Core valuable time.
gnufied (hemant kumar)
02:11 PM Feature #5088 (Closed): Refactor and Document vm_method.c / method.h
=begin
(not a "Feature" but a "Task")
Refactoring and documentation of the following files:
* source:vm_method.c
* source:method.h
* other indirectly affected files
This will not alter the functionality in any way, but will c...
lazaridis.com (Lazaridis Ilias)
03:21 PM Feature #5089 (Closed): Even More Inadvertent Symbol Removal, And Fix Issue With Previous Code
This is the third and hopefully final patch for removing inadvertent symbol creation. It removes it from the following methods:

alias_method
autoload?
private_class_method
private_constant
private
protected
public
public_c...
jeremyevans0 (Jeremy Evans)
11:35 AM Revision 80a7bca4 (git): * ext/socket/extconf.rb: refine the recvmsg test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:35 AM Revision 29f354df (git): * ext/socket/extconf.rb: refine the recvmsg test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:32 AM Feature #1800 (Closed): rubygems can replace system executable files
I've implemented this in the RubyGems repository, but it is too big a change to go into 1.9.3.
Rather than having users opt-in to checking if a RubyGems executable will overwrite something in their bin dir I'm using the following rule...
drbrain (Eric Hodel)
11:04 AM Revision 046bab71 (git): * ext/socket/extconf.rb: fix the recvmsg test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:04 AM Revision 0283c3d0 (git): * ext/socket/extconf.rb: fix the recvmsg test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:46 AM Bug #5076: Mac OS X Lion Support
備忘録として。むらけんのさんのくーるパッチ r32649 によってクラッシュバグは #5081 (syslogのフォーマット変更)以外のfaulureは消えたので、もうLion対応は1.9.3 のblockerではありません。1.9.4までに作業すればよい状況です。
kosaki (Motohiro KOSAKI)
01:05 AM Bug #5032 (Closed): Gem::Specification#loaded? が常に false を返す
This issue was solved with changeset r32652.
okkez, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rubygems/specification.rb: Restore behavior of
Gem::Sp...
drbrain (Eric Hodel)
12:38 AM Feature #5054: Compress a sequence of ends
Magnus Holm wrote:
> Let me just point out that you don't have to have the "end"s on separate lines
As comment #42 and others have pointed out already. :-)
RalphCorderoy (Ralph Corderoy)
12:05 AM Feature #5079 (Closed): More removal of inadvertent symbol creation
This issue was solved with changeset r32645.
Jeremy, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* error.c (rb_name_error_str): new function to raise NameError
...
nobu (Nobuyoshi Nakada)

07/23/2011

11:57 PM Revision b6fd481c (git): * ext/socket/extconf.rb: test recvmsg allocates file descriptors for
fd passing even with MSG_PEEK.
* ext/socket/ancdata.c: use the above test result.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:57 PM Revision f5b9de75 (git): * ext/socket/extconf.rb: test recvmsg allocates file descriptors for
fd passing even with MSG_PEEK.
* ext/socket/ancdata.c: use the above test result.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
07:40 PM Bug #4975 (Rejected): DateTime.civil calculates seconds incorrectly with fractional offsets
The contagion of flonum affects the determination of date and time.
You may give it as a rational number or a string.
DateTime.new(2011,5,13,17,31,13,Rational('-0.25'))
#=> #<DateTime: 2011-05-13T17:31:13-06:00 (212172089473/86400,-...
tadf (tadayoshi funaba)
07:29 PM Feature #5054: Compress a sequence of ends
Let me just point out that you don't have to have the "end"s on separate lines:

```ruby
module MyModule
class MyClass
def my_method
10.times do
if rand < 0.5
p :small
end end end...
judofyr (Magnus Holm)
12:49 AM Feature #5054: Compress a sequence of ends
Kurtis Rainbolt-Greene wrote:
> The `endwhile` and `endif` or `fi` solutions aren't *solutions* because they can't be used for block arguments for methods:
(Not "fi", please, awful! :-)
You're correct. It can't. Although there ...
RalphCorderoy (Ralph Corderoy)
04:24 PM Revision ab110271 (git): * lib/rubygems/specification.rb: Restore behavior of
Gem::Specification#loaded. [Ruby 1.9 - Bug #5032]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
04:15 PM Revision 301dfa19 (git): merge revision(s) 32642:
* test/rake/test_rake_functional.rb (setup): Use __FILE__ for the base
directory. Current directory is not the top source directory when
the building process runs on other than there.
* test/rake/test_rake_ra...
naruse (Yui NARUSE)
04:05 PM Revision 6b3ec75c (git): * lib/rubygems/specification.rb: Restore behavior of
Gem::Specification#loaded. [Ruby 1.9 - Bug #5032]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
03:59 PM Revision e1d542bc (git): revert r32648. r32649 is better one.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
03:57 PM Revision 1e52e560 (git): revert r32647. r32649 is better one.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
03:44 PM Revision 608ac0b1 (git): * configure.in: change the default compiler to gcc-4.2 if target os
is OS X 10.7 (Lion).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
03:19 PM Revision 7e277e52 (git): merge revision(s) 32647:
* configure.in: changed default optflags to -O0 if the compiler is
llvm-gcc. It prevent ruby crash on OS X 10.7 (Lion).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
03:18 PM Revision e39294ca (git): * configure.in: changed default optflags to -O0 if the compiler is
llvm-gcc. It prevent ruby crash on OS X 10.7 (Lion).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
03:05 PM Revision 9eba5f65 (git): * 2011-07-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:05 PM Revision 4dc1a218 (git): * error.c (rb_name_error_str): new function to raise NameError
with the name string but not ID.
* object.c, proc.c, variable.c: more removal of inadvertent symbol
creation. [Feature #5079]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:38 PM Bug #4987 (Closed): test/rake doesn't work at all
This issue was solved with changeset r32636.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/rake*: Remove dependencies on flexmock and session ge...
drbrain (Eric Hodel)
02:36 PM Feature #5072: Avoid inadvertent symbol creation in reflection methods
I guess the observation does fail for respond_to?, but it should hold for the other methods (both the ones in here #5072 and the ones in #5079). I've attached a patch here to fix the respond_to_missing? override case, but of course that... jeremyevans0 (Jeremy Evans)
09:37 AM Feature #5072 (Assigned): Avoid inadvertent symbol creation in reflection methods
Hello,
2011/7/22 Jeremy Evans <merch-redmine@jeremyevans.net>:
> This could be fixed using a fairly simple observation, which is that if you do:
> ...
Nobu seemed to commit your patch, but unfortunately, the observation is
false be...
mame (Yusuke Endoh)
12:49 PM Revision a7c15b26 (git): method name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
12:14 PM Revision f0fa1d7a (git): * lib/cmath.rb: should return a real number if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
12:12 PM Bug #5084 (Closed): Re: [ruby-changes:20573] nobu:r32621 (trunk): * object.c (rb_mod_{const,cvar}_defined, rb_obj_ivar_defined):
This issue was solved with changeset r32634.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y (rb_check_id): conversion condition was inverse.
[Bu...
nobu (Nobuyoshi Nakada)
12:08 PM Bug #5084 (Closed): Re: [ruby-changes:20573] nobu:r32621 (trunk): * object.c (rb_mod_{const,cvar}_defined, rb_obj_ivar_defined):
2011/7/22 nobu <ko1@atdot.net>:
> nobu 2011-07-22 21:06:42 +0900 (Fri, 22 Jul 2011)
>
> New Revision: 32621
>
> http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32621
>
> Log:
> * object.c (rb_mod_{...
akr (Akira Tanaka)
11:21 AM Revision fe4ceb25 (git): * test/rake/test_rake_functional.rb (setup): Use __FILE__ for the base
directory. Current directory is not the top source directory when
the building process runs on other than there.
* test/rake/test_rake_rake_test_loader.rb: ditto.
* test/rake/test_rake_task_argument_parsing.rb
(test_terminal_width_...
naruse (Yui NARUSE)
11:17 AM Revision f99bed93 (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/trunk@32641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba
10:37 AM Bug #4651: Bus Error using continuation on x86_64-darwin11.0.0 (Lion)
@Micheal Bleigh
There's a ticket #4945 which in the backport92 project. I think they'll backport that soon.
sikachu (Prem Sichanugrist)
04:31 AM Bug #4651: Bus Error using continuation on x86_64-darwin11.0.0 (Lion)
I'm sorry, but I'm not sure what the resolution of this is for it to be closed. I've just run into the same error with 1.9.2-head (works in 1.9.3-head) on RVM. Is this a fix that is going to be applied to the 1.9.2 branch or is it going ... mbleigh (Michael Bleigh)
10:13 AM Revision e845e35f (git): * test/win32ole/test_err_in_callback.rb (test_err_in_callback):
skip test if ADODB.connection is not available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
10:03 AM Bug #5083 (Closed): cref/cbase取得時にSEGV
=begin
辻本です。
以下のコードでSEGVします。
$ ./ruby -e 'Thread.new(&Module.method(:nesting)).join'
$ ./ruby -e 'Thread.new(:to_s, &Module.method(:undef_method)).join'
それぞれrb_vm_cref/rb_vm_cbaseの中でrb_vm_get_ruby_level_next_cfpが0を返すケースに
対応...
ktsj (Kazuki Tsujimoto)
10:03 AM Revision 65658ea0 (git): * parse.y (rb_enc_symname_type): :$a!, @a! and so on are not
valid symbols, so they should be inspected with quotes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
09:23 AM Feature #5056: About 1.9 EOL
If 2.0 is just a lot compatible iteration of 1.9.3, and could just as easily
be called 1.9.4, then why not just call it 1.9.4? Using the 2.0 version jump
implies a substantial bump in the language, with changes in api's and
compat...
wyhaines (Kirk Haines)
08:53 AM Bug #5047: Segfault (most likely involving require)
On Sat, Jul 23, 2011 at 07:56, Eric Wong <normalperson@yhbt.net> wrote:
>> Does GC.stress help?
>
> I tried it for a while but lost patience while waiting.  I suppose
> I'll try it again while I poke at other things...

Yeah, I w...
nahi (Hiroshi Nakamura)
07:59 AM Bug #5047: Segfault (most likely involving require)
Eric Hodel <drbrain@segment7.net> wrote:
> Does GC.stress help?

I tried it for a while but lost patience while waiting. I suppose
I'll try it again while I poke at other things...

--
Eric Wong
normalperson (Eric Wong)
07:53 AM Bug #5047: Segfault (most likely involving require)
On Jul 22, 2011, at 2:41 PM, Eric Wong wrote:
> Hiroshi Nakamura <nakahiro@gmail.com> wrote:
>> Can someone enlighten me to find the bug?
>
> I started looking into this, too, but haven't found the exact
> cause/solution, eit...
drbrain (Eric Hodel)
06:53 AM Bug #5047: Segfault (most likely involving require)
Hiroshi Nakamura <nakahiro@gmail.com> wrote:
> Can someone enlighten me to find the bug?

I started looking into this, too, but haven't found the exact
cause/solution, either.

It does not seem to be in the tinytds nor bcryp...
normalperson (Eric Wong)
08:28 AM Bug #5082 (Closed): test_context_switch(TestMarshal) was failed on OS X 10.7 (Lion)
Fiberまわりのようなので、他のを直したらついでに直るかも
1) Failure:
test_context_switch(TestMarshal) [/Users/kosaki/ruby/git/test/ruby/test_marshal.rb:383]:
[StopIteration] exception expected, not
Class: <FiberError>
Message: <"uninitialized fiber">
--...
kosaki (Motohiro KOSAKI)
08:26 AM Bug #5081 (Closed): LionでTestSyslog が一件 failure
Lionからsyslogの書式が変わったように見えます
2) Failure:
test_log(TestSyslog) [/Users/kosaki/ruby/git/test/test_syslog.rb:148]:
<"syslog_test: test1 - hello, world!\n"> expected but was
<"Jul 22 23:41:41 KOSAKI-Motohiro-no-MacBook-Pro.local syslo...
kosaki (Motohiro KOSAKI)
08:13 AM Revision 5314b520 (git): * io.c (rb_update_max_fd): validate fd.
* ext/socket/rubysocket.h (rsock_discard_cmsg_resource): add
msg_peek_p argument for the declaration.
* ext/socket/ancdata.c (discard_cmsg): add msg_peek_p argument.
assume FreeBSD, NetBSD and MacOS X doesn't generate passed fd
wh...
akr (Akira Tanaka)
08:13 AM Revision 2bcd502a (git): * io.c (rb_update_max_fd): validate fd.
* ext/socket/rubysocket.h (rsock_discard_cmsg_resource): add
msg_peek_p argument for the declaration.
* ext/socket/ancdata.c (discard_cmsg): add msg_peek_p argument.
assume FreeBSD, NetBSD and MacOS X doesn't generate passed fd
wh...
akr (Akira Tanaka)
07:48 AM Bug #5080 (Closed): Array class rdoc documentation revisions
There are some confusions and inconsistence in the different Array method code examples. I tried to update these and made some adaptations.
Pull Request on Github => https://github.com/ruby/ruby/pull/35
tonini (samuel tonini)
06:05 AM Revision 1a4df686 (git): * test/rake*: Remove dependencies on flexmock and session gems.
[Ruby 1.9 - Bug #4987]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
05:38 AM Revision c93ed570 (git): * test/rake*: Remove dependencies on flexmock and session gems.
[Ruby 1.9 - Bug #4987]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
04:43 AM Feature #5079 (Closed): More removal of inadvertent symbol creation
As I mentioned in an update to #5072, this removes inadvertent symbol creation for the following methods:
class_variable_get
instance_variable_get
remove_class_variable
remove_instance_variable
remove_const
method
instance_metho...
jeremyevans0 (Jeremy Evans)
03:19 AM Revision 12d9be6b (git): * parse.y (rb_check_id): take care of attrset ID created
implicitly by local ID. [Bug #5084]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:12 AM Revision d9242d59 (git): * parse.y (rb_check_id): conversion condition was inverse.
[Bug #5084]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

07/22/2011

11:59 PM Feature #5041: Set FD_CLOEXEC for all fds (except 0, 1, 2)
2011/7/21 Kurt Stephens <ks.ruby@kurtstephens.com>:

> We commonly dup FD 2 so subprocesses can drill back out to parent's $STDERR, after parent has redirected FD 2 to /dev/null.
>
> We need a generic callback on Process.fork.
...
akr (Akira Tanaka)
11:53 PM Feature #5041: Set FD_CLOEXEC for all fds (except 0, 1, 2)
2011/7/21 Eric Wong <normalperson@yhbt.net>:

>> So I may change the default of :close_others to true even for system() and
>> exec().
>
> If so, I would like a way specify a set/array/hash of FDs/IOs we don't
> want :close_...
akr (Akira Tanaka)
11:19 PM Bug #5078: test-all make SystemStackError on OS X 10.7 (Lion)
適当にrb_bug()仕込んでみたところ、CHECK_STACK_OVERFLOW()の判定に失敗していることが分かりました。
CHECK_STACK_OVERFLOW()がstack overflow検知したらrb_bug()呼ぶようにしてみたところ、以下のような
クラッシュログが採取できました。
全然スタック使ってるように見えないので、これもvolatileつけたら直ったりするんじゃないですかね。
ruby 1.9.4dev (2011-07-2...
kosaki (Motohiro KOSAKI)
09:58 PM Bug #5078 (Closed): test-all make SystemStackError on OS X 10.7 (Lion)
Lion上でmake test-all が以下のように SystemStackErrorを引き起こします。
不思議なことに make test-all TESTS="-v -q rexml" のように rexml だけ実行すると無事完走します。
XPathTester#test_tobis_preceding = 0.00 s = .
XPathTester#test_toms_text_node = 0.00 s = .
XPathTester#tes...
kosaki (Motohiro KOSAKI)
10:19 PM Bug #5077 (Rejected): method_missing throws NoMemoryError after inheriting from BasicObject
BasicObject doesn't include Kernel module.
It is a spec.
mrkn (Kenta Murata)
09:58 PM Bug #5077: method_missing throws NoMemoryError after inheriting from BasicObject
Farruco Sanjurjo wrote:
> If a class inherits from BasicObject and then overwrites method_missing like this:
> ...
method_missing is called indefinitely recursively because "puts" is not a method in BasicObject.
Only methods availab...
Eregon (Benoit Daloze)
09:24 PM Bug #5077 (Rejected): method_missing throws NoMemoryError after inheriting from BasicObject
If a class inherits from BasicObject and then overwrites method_missing like this:
class A < BasicObject
def method_missing(*a)
puts "#{a}"
end
end
And we try it:
A.new.fooooo
The interpreter enters what looks ...
madtrick (Farruco Sanjurjo)
09:59 PM Bug #5076 (Open): Mac OS X Lion Support
すいません、コミットするときに参照するバグ番号を間違えたようです。reopenします
kosaki (Motohiro KOSAKI)
09:52 PM Bug #5076 (Closed): Mac OS X Lion Support
This issue was solved with changeset r32628.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_insnhelper.c (vm_call_cfunc): added volatile for a workaround...
kosaki (Motohiro KOSAKI)
08:20 PM Bug #5076 (Closed): Mac OS X Lion Support
Ruby doesn't work on Lion. naruse (Yui NARUSE)
09:35 PM Bug #5067: BasicObject's constant lookup documentation
Here is my improved documentation:
https://github.com/trans/ruby/commit/70a66e08780b5bc77fb47a91cbefc372147a716e
If overall satisfactory, please merge and tweak as needed.
trans (Thomas Sawyer)
10:33 AM Bug #5067: BasicObject's constant lookup documentation
@eric Makes sense. I think "system" might be too overloaded a word, maybe "hierarchy"?
Should I work on wording and update example?
trans (Thomas Sawyer)
03:20 AM Bug #5067: BasicObject's constant lookup documentation
In light of the workaround required to access Ruby classes descending from Object I think "very useful as the base class for DSLs" is not quite accurate.
I think the first paragraph should say something more like "useful for creating ...
drbrain (Eric Hodel)
02:47 AM Bug #5067: BasicObject's constant lookup documentation
Ah, I see. Yes, your example is what is meant. trans (Thomas Sawyer)
02:40 AM Bug #5067: BasicObject's constant lookup documentation
Well, BasicObject is a blank slate, and adding const_missing to it could affect all classes in the Ruby class hierarchy. Even though it might solve your problem, that could have huge side effect, e.g. entering infinite loop.
OKay, as...
matz (Yukihiro Matsumoto)
02:23 AM Bug #5067: BasicObject's constant lookup documentation
But that was the main point of adding the documentation! And how can it be "half-baked"? What other solution is there?
The documentation states that it is "if" you need to reference constant normally from within a basic object, then...
trans (Thomas Sawyer)
01:29 AM Bug #5067: BasicObject's constant lookup documentation
I agree to merge this documentation clarification, but without the last five lines. The work around may or may not work, depending on the applications's requirement. I don't want to encourage the half-baked solution in the document.
...
matz (Yukihiro Matsumoto)
09:17 PM Revision 6c2e145e (git): merge revision(s) 32631:
------------------------------------------------------------------------
r32631 | naruse | 2011-07-23 06:16:50 +0900 (Sat, 23 Jul 2011) | 1 line
Fix r32622.
------------------------------------------------------------------------
git-...
naruse (Yui NARUSE)
09:16 PM Revision a3f5a595 (git): * 2011-07-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:16 PM Revision 93177c1e (git): Fix r32622.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
09:06 PM Feature #5072 (Closed): Avoid inadvertent symbol creation in reflection methods
This issue was solved with changeset r32621.
Jeremy, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* object.c (rb_mod_{const,cvar}_defined, rb_obj_ivar_defined):
...
nobu (Nobuyoshi Nakada)
03:53 PM Feature #5072: Avoid inadvertent symbol creation in reflection methods
Hi,

At Fri, 22 Jul 2011 14:55:40 +0900,
Yukihiro Matsumoto wrote in [ruby-core:38386]:
> Quite nice idea! I am not going to make this specified
> behavior among implementations, but as an optimization it's
> great. I'd li...
nobu (Nobuyoshi Nakada)
03:33 PM Feature #5072: Avoid inadvertent symbol creation in reflection methods
Great. I'll work on a patch that fixes the backwards compatibility issues mentioned in the 0002 patch (e.g. that instance_variable_defined?("foo") does not raise NameError).
Would you like this optimization ported to (class|instance)...
jeremyevans0 (Jeremy Evans)
02:55 PM Feature #5072: Avoid inadvertent symbol creation in reflection methods
Quite nice idea! I am not going to make this specified behavior among implementations, but as an optimization it's great. I'd like to merge it, for 1.9.3, if the maintainer allows.
matz.
matz (Yukihiro Matsumoto)
08:02 AM Feature #5072 (Closed): Avoid inadvertent symbol creation in reflection methods
I recently discovered a denial of service vulnerability in ActiveRecord's mass assignment methods related to the insecure use of ruby's reflection methods (e.g. respond_to?). Because these methods take strings and automatically create s... jeremyevans0 (Jeremy Evans)
08:23 PM Feature #5056: About 1.9 EOL
(2011/07/22 0:54), Yukihiro Matsumoto wrote:
> Hi,
>
> In message "Re: [ruby-core:38287] Re: [Ruby 1.9 - Feature #5056] About 1.9 EOL"
> on Thu, 21 Jul 2011 09:55:48 +0900, SASADA Koichi <ko1@atdot.net> writes:
>
> |I ...
naruse (Yui NARUSE)
12:59 AM Feature #5056: About 1.9 EOL
Hi,

In message "Re: [ruby-core:38287] Re: [Ruby 1.9 - Feature #5056] About 1.9 EOL"
on Thu, 21 Jul 2011 09:55:48 +0900, SASADA Koichi <ko1@atdot.net> writes:

|I understand NARUSE-san's comment (feature of 2.0 is matter) ...
matz (Yukihiro Matsumoto)
12:53 AM Feature #5056: About 1.9 EOL
On 21 July 2011 16:22, Chuck Remes <cremes.devlist@mac.com> wrote:
On 21 July 2011 16:33, Nikolai Weibull <now@bitwi.se> wrote:
On 21 July 2011 17:01, Jon Forums <redmine@ruby-lang.org> wrote:

*SIGH*

I absolutely did not w...
Eregon (Benoit Daloze)
12:01 AM Feature #5056: About 1.9 EOL
I would like to see 2.0 clean up performance regressions on Windows introduced by 1.9. Cleaning up the Windows performance regressions is important for 2.0 and for removing a key roadblock for Windows users transitioning from 1.8 to MRI ... jonforums (Jon Forums)
05:19 PM Feature #5065: Allow "}" as an alternative to "end"
The same kinds of requests as "endall" are being discussed on #5054 which is set to Joke. So "endall" can be a joke. In the case of "{", the issue below is a bit similar to your's and has been already rejected:
http://redmine.ruby-lang...
technohippy (Yasushi ANDO)
10:29 AM Feature #5065: Allow "}" as an alternative to "end"
Eric Hodel wrote:
> Switched categories to match #5054
Mr. Hodel, I understand your friendly intention, but I didn't meant to "extend" the joke in #5054 (btw: I find an "endall" not a joke, but a worthy construct, too).
I would r...
lazaridis.com (Lazaridis Ilias)
07:17 AM Feature #5065: Allow "}" as an alternative to "end"
Switched categories to match #5054 drbrain (Eric Hodel)
02:46 PM Bug #5031 (Closed): Enumerable#zip SEGFAULTs with a Range Object (Mac OS X 10.7 LION)
Applying r32201 fixes this issue too.
kosaki (Motohiro KOSAKI)
01:58 PM Bug #5045 (Closed): wrong method in doc of Net::HTTP
This issue was solved with changeset r32614.
Benoit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/http.rb: Net::HTTP#finish is used to manually close
...
drbrain (Eric Hodel)
01:52 PM Bug #5057 (Closed): Update readline docs to contain completion examples
This issue was solved with changeset r32612.
Markus, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/readline/readline.c: Add examples for Readline.completio...
drbrain (Eric Hodel)
01:28 PM Bug #4485 (Closed): Gem.bin_path('rake') does not return the path of the system-installed rake
drbrain (Eric Hodel)
01:28 PM Bug #4485: Gem.bin_path('rake') does not return the path of the system-installed rake
The install of tool/rbinstall.rb only allows one source item per call so I couldn't take full advantage of your suggestion. drbrain (Eric Hodel)
01:01 PM Revision 201179fc (git): fixed bug ref
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
12:53 PM Revision b44970a0 (git): merge revision(s) 32628:
* vm_insnhelper.c (vm_call_cfunc): added volatile for a workaround
of cfp consistency error problem on OS X 10.7 (Lion). It's
suspected llvm optimization bug.
[Bug #5076] [ruby-dev:44185]
git-svn-id: svn+s...
kosaki (Motohiro KOSAKI)
12:52 PM Revision 5975e9e0 (git): * vm_insnhelper.c (vm_call_cfunc): added volatile for a workaround
of cfp consistency error problem on OS X 10.7 (Lion). It's
suspected llvm optimization bug.
[Bug #5076] [ruby-dev:44185]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
12:50 PM Revision 7ea6334d (git): merge revision(s) 32622:
* lib/uri/generic.rb (WFKV_): unroll the loop of regexp.
* lib/uri/generic.rb (URI.decode_www_form_component): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:49 PM Revision 49995e8e (git): merge revision(s) 32595:
* enum.c (enum_inject): remove empty line to notify rdoc
Enumerable#reduce is alias. patched by milki@github.
https://github.com/ruby/ruby/pull/26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@3262...
naruse (Yui NARUSE)
12:49 PM Revision 11b4be8e (git): merge revision(s) 32593:
* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#each):
Allow HTTP/0.9 request which doesn't has any header or body.
patched by Felix Jodoin. [ruby-core:38040] [Bug #5022]
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
naruse (Yui NARUSE)
12:49 PM Revision e0a17f3b (git): merge revision(s) 32590:
------------------------------------------------------------------------
r32590 | naruse | 2011-07-21 00:20:14 +0900 (Thu, 21 Jul 2011) | 7 lines
Add test for r32586.
FreeBSD (at least 7.2 to 7.2) calls nsdispatch(3) when it calls
geta...
naruse (Yui NARUSE)
12:48 PM Bug #5073 (Closed): Ruby 1.9.2 may fail to build ri data when an RDoc plugin is installed
I get the following build error on my Linux box while trying to build
ruby-1.9.2-p290, how to fix? it look like a issues with RDoc
make[1]: Entering directory `/opt/ruby-1.9.2-p290'
gcc -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-p...
ryadav (Rajinder Yadav)
12:45 PM Revision 2b7e8f86 (git): merge revision(s) 32586:
* ext/dl/handle.c (dlhandle_sym): clear previous error with dlerror()
before calling dlsym(). [ruby-dev:44091] [Bug #5021]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32623 b2dd03c8-39d4-4d8f-98ff-823fe69b...
naruse (Yui NARUSE)
12:42 PM Bug #4944: crash in FIPS mode after unchecked EVP_DigestInit_ex failure
Full log:
/Users/drbrain/Work/svn/ruby/branches/ruby_1_9_3/ext/openssl
gcc -I. -I../../.ext/include/x86_64-darwin11.0.0 -I../.././include -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-...
drbrain (Eric Hodel)
12:34 PM Bug #4944: crash in FIPS mode after unchecked EVP_DigestInit_ex failure
r32607 breaks compilation on OS X 10.7:
ossl_hmac.c: In function ‘ossl_hmac_initialize’:
ossl_hmac.c:73: warning: ‘HMAC_Init’ is deprecated (declared at /usr/include/openssl/hmac.h:96)
ossl_hmac.c:73: error: void value not ignored a...
drbrain (Eric Hodel)
11:28 AM Bug #4944 (Feedback): crash in FIPS mode after unchecked EVP_DigestInit_ex failure
I currently don't have a FIPS build of OpenSSL to check this with.
Jared, could you please verify that it throws an exception now instead of segfaulting?
I applied the patch in r32606 on trunk and backported it to 1.9.3 in r32607.
...
MartinBosslet (Martin Bosslet)
11:21 AM Bug #4944 (Closed): crash in FIPS mode after unchecked EVP_DigestInit_ex failure
This issue was solved with changeset r32606.
Jared, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/ossl_digest.c: Check return value of EVP_DigestIni...
Anonymous
09:41 AM Bug #4944 (Assigned): crash in FIPS mode after unchecked EVP_DigestInit_ex failure
MartinBosslet (Martin Bosslet)
09:41 AM Bug #4944: crash in FIPS mode after unchecked EVP_DigestInit_ex failure
Thanks Jared,
I'll have a look. The same issue may arise with Ciphers as well iirc. I'm going to check whether we check return values there, otherwise this would probably have to be updated as well.
MartinBosslet (Martin Bosslet)
12:29 PM Revision b5f91dee (git): * lib/uri/generic.rb (WFKV_): unroll the loop of regexp.
* lib/uri/generic.rb (URI.decode_www_form_component): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:18 PM Bug #4456: Time#strftime で %F 指定子に大きな幅を指定した際の不具合
%Fの指定をもっと大きく(2**31-1=2147483647)すると i686-linux でも再現しました。
既出のパッチで治ります。
こういう場合はテストを追加または変更すべきでしょうか?
% ruby -e 'Time.now.strftime("%2147483647F")'
-e:1: [BUG] Segmentation fault
ruby 1.9.4dev (2011-07-21 trunk 32598) [i686-linux]
...
ngoto (Naohisa Goto)
12:06 PM Revision 34918aa8 (git): * object.c (rb_mod_{const,cvar}_defined, rb_obj_ivar_defined):
avoid inadvertent symbol creation in reflection methods. based
on a patch by Jeremy Evans at [ruby-core:38367]. [Feature #5072]
* vm_method.c (rb_mod_method_defined)
(rb_mod_{public,private,protected}_method_defined)
(obj_respond...
nobu (Nobuyoshi Nakada)
11:47 AM Bug #5047: Segfault (most likely involving require)
Can someone enlighten me to find the bug?
Here's a way to replicate the bug. 4 steps. I'm on Ubuntu 11.04 64bit.
----
# 1. extract the attached app
% unzip segfault.zip
% cd segfault
# 2. install bundler via rubygems
% gem ins...
nahi (Hiroshi Nakamura)
11:44 AM Revision c276b738 (git): * parse.y (rb_is_global_id, rb_is_attrset_id): add missing
predicates.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:37 AM Revision b8a1e15e (git): * test/ruby/test_object.rb (TestObject#test_respond_to_missing):
2nd argument of respond_to_missing? is not optional.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
10:05 AM Revision 58a6a679 (git): * parse.y (rb_enc_symname2_p): get rid of potential out-of-bound
access.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:05 AM Revision e0060732 (git): * parse.y (rb_enc_symname2_p): get rid of potential out-of-bound
access.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:33 AM Revision 05d7a284 (git): * vm_method.c (obj_respond_to): fix missing argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:33 AM Revision 256eae16 (git): * vm_method.c (obj_respond_to): fix missing argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:23 AM Bug #4879 (Closed): test_new(OpenSSL::TestPKeyRSA) fails on Win32
I close this since there have been no further complaints. MartinBosslet (Martin Bosslet)
09:13 AM Bug #5062 (Closed): double free in OpenSSL::Engine
This issue was solved with changeset r32604.
Ippei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/ossl_engine.c: Avoid double free of ENGINE referen...
Anonymous
07:28 AM Bug #1883: REXML hash sometimes computes a value that is too large
This does not appear to have been backported to ruby_1_8_7 branch, so we have gotten recent reports about it being a bug in JRuby. Is it possible to get this tiny patch backported to ruby_1_8_7, so we can pull the change into our patched... headius (Charles Nutter)
07:12 AM Revision fba1063c (git): * tool/rbinstall.rb (strip_file): accept an array of path names.
* tool/rbinstall.rb (install): allow multiple path names.
[ruby-core:38379]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:41 AM Bug #5070 (Closed): CSV.generate should not modify the given option hash
> Feel free to commit.
> ...
Done, thanks (r32600 & 32602)
marcandre (Marc-Andre Lafortune)
04:59 AM Bug #5070: CSV.generate should not modify the given option hash
On Thu, Jul 21, 2011 at 2:23 PM, Marc-Andre Lafortune
<ruby-core@marc-andre.ca> wrote:
>
> Issue #5070 has been reported by Marc-Andre Lafortune.
>
> ----------------------------------------
> Bug #5070: CSV.generate should not mo...
Anonymous
04:23 AM Bug #5070 (Closed): CSV.generate should not modify the given option hash
Currently:
CSV.generate( {}.freeze ) # => RuntimeError: can't modify frozen Hash
I'm not sure where these tests would ideally go; In the attached patch, I've put them at the end of csv/test_interface
If you can, please make ...
marcandre (Marc-Andre Lafortune)
06:41 AM Bug #5034: C Source Code formatting
Yui NARUSE wrote:
> > To make this issue productive again:
> ...
ok, but *why*? Who decided and especially *why* (the rationale) to use tab-8/space-4 ?
I still believe it was a "hairy" developer, on drugs when he implemented/introdu...
lazaridis.com (Lazaridis Ilias)
05:00 AM Bug #4301 (Third Party's Issue): Off-by-one line number in Psych parse error
Yes, this should be third party issue. tenderlovemaking (Aaron Patterson)
04:58 AM Revision ee54fbd6 (git): * lib/net/http.rb: Net::HTTP#finish is used to manually close
connections. [Ruby 1.9 - Bug #5045]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
04:58 AM Revision a58c76cc (git): * lib/net/http.rb: Net::HTTP#finish is used to manually close
connections. [Ruby 1.9 - Bug #5045]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
04:54 AM Revision 9fd68c53 (git): * ext/readline/readline.c: Add examples for Readline.completion_proc=.
[Ruby 1.9 - Bug #5057]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
04:52 AM Revision c1fa17c1 (git): * ext/readline/readline.c: Add examples for Readline.completion_proc=.
[Ruby 1.9 - Bug #5057]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
04:41 AM Bug #5068: Issue with "duplicated when clause is ignored"
Thanks.
Well, I guess it boils down to deciding which between tolerating false positives or false negatives.
sm (Stefano Mioli)
01:35 AM Bug #5068 (Assigned): Issue with "duplicated when clause is ignored"
Here is a patch. It became bigger than expected...
I'll commit it unless there is objection.
diff --git a/compile.c b/compile.c
index 53149ca..c1012f7 100644
--- a/compile.c
+++ b/compile.c
@@ -1275,6 +1275,18 @@ static const ...
mame (Yusuke Endoh)
12:33 AM Bug #5068: Issue with "duplicated when clause is ignored"
Hello,
It would be good to warn the code, but strictly, the warning
may be false positive:
$ cat t.rb
class Fixnum
def +(x)
def ===(x)
true
end
end
end
x = 0
case x
when 1 th...
mame (Yusuke Endoh)
12:06 AM Bug #5068 (Closed): Issue with "duplicated when clause is ignored"
I'm filing this ticket as suggested by Ryan Davis here:
http://www.ruby-forum.com/topic/2154866#1011303
Let's consider this snippet:
x = 0
case x
when 1
when 0
when 1
end
Executing a file containing this co...
sm (Stefano Mioli)
04:26 AM Revision cc5d4428 (git): * tool/rbinstall.rb (default gems): Install executables into the fake
gem dir for Gem.bin_path. [Ruby 1.9 - Bug #4485]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
04:17 AM Revision df88c5af (git): * backport r32609 from trunk.
* ext/openssl/ossl_hmac.c: Revert checking return type of
HMAC_Init_ex as it is not compatible with OpenSSL < 1.0.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
04:11 AM Revision af017841 (git): * ext/openssl/ossl_hmac.c: Revert checking return type of
HMAC_Init_ex as it is not compatible with OpenSSL < 1.0.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
03:16 AM Revision afd3a18f (git): * tool/rbinstall.rb (default gems): Install executables into the fake
gem dir for Gem.bin_path. [#4485]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
02:25 AM Revision 48e71270 (git): * backport r32606 from trunk.
* ext/openssl/ossl_digest.c: Check return value of EVP_DigestInit_ex.
* ext/openssl/ossl_hmac.c: Check return value of HMAC_Init_ex.
Thanks, Jared Jennings, for the patch.
[ Ruby 1.9 - Bug #4944 ] [ruby-core:37670]
git-svn-id: svn+...
MartinBosslet (Martin Bosslet)
02:21 AM Revision 00a00651 (git): * ext/openssl/ossl_digest.c: Check return value of EVP_DigestInit_ex.
* ext/openssl/ossl_hmac.c: Check return value of HMAC_Init_ex.
Thanks, Jared Jennings, for the patch.
[ Ruby 1.9 - Bug #4944 ] [ruby-core:37670]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32606 b2dd03c8-39d4-4d8f-98ff-823fe6...
MartinBosslet (Martin Bosslet)
12:59 AM Bug #4457: Time#strftime で %z 指定子などに大きな幅を指定した際の不具合
なかだです。

At Thu, 21 Jul 2011 13:57:30 +0900,
Motohiro KOSAKI wrote in [ruby-dev:44176]:
> こちら、状況いかがでしょうか?

できなければ例外、ですかねぇ。


diff --git a/test/ruby/test_time.rb b/test/ruby/test_time.rb
index 38e567a..1f07a82 100644
...
nobu (Nobuyoshi Nakada)
12:19 AM Revision ea74a92b (git): * backport r32604 from trunk.
* ext/openssl/ossl_engine.c: Avoid double free of ENGINE reference.
* test/openssl/test_engine.rb: Add a test for it.
Thanks to Ippei Obayashi for providing the patch.
[ Ruby 1.9 - Bug #5062 ] [ruby-dev:44173]
git-svn-id: svn+ssh:/...
MartinBosslet (Martin Bosslet)
12:15 AM Bug #4058: __method__ does not return correct method name for aliased methods
Is there any hope of getting __callee__ functionality back at some point? I tried to write a ruby extension that provided a function to call what used to be called by __callee__ but that doesn't appear to work. Has the VM changed to the ... charlton (Charlton Wang)
12:13 AM Revision 84e835fe (git): * ext/openssl/ossl_engine.c: Avoid double free of ENGINE reference.
* test/openssl/test_engine.rb: Add a test for it.
Thanks to Ippei Obayashi for providing the patch.
[ Ruby 1.9 - Bug #5062 ] [ruby-dev:44173]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
12:07 AM Bug #4533 (Feedback): rake db:migrate ----Segmentation fault
How can I reproduce it? nobu (Nobuyoshi Nakada)

07/21/2011

11:53 PM Feature #5056: About 1.9 EOL
On Thu, Jul 21, 2011 at 16:22, Chuck Remes <cremes.devlist@mac.com> wrote:
> On Jul 21, 2011, at 8:22 AM, Benoit Daloze wrote:
>> On 21 July 2011 02:55, SASADA Koichi <ko1@atdot.net> wrote:
>>> I think 2.0 is good point to throw away...
now (Nikolai Weibull)
11:23 PM Feature #5056: About 1.9 EOL
On Jul 21, 2011, at 8:22 AM, Benoit Daloze wrote:

> Hello,
> On 21 July 2011 02:55, SASADA Koichi <ko1@atdot.net> wrote:
>> I think 2.0 is good point to throw away some compatibility issues (e.g.
>> C APIs). We need more tim...
Anonymous
10:23 PM Feature #5056: About 1.9 EOL
Hello,
On 21 July 2011 02:55, SASADA Koichi <ko1@atdot.net> wrote:
> I think 2.0 is good point to throw away some compatibility issues (e.g.
> C APIs). We need more time to discuss.

On 21 July 2011 03:05, Yui NARUSE <naruse@airem...
Eregon (Benoit Daloze)
10:29 AM Feature #5056: About 1.9 EOL
>> Sorry, I don't get it. "2.0 is one of 1.9 series" ? Please explain a bit.
> ...
OK, I've caught your point and I like this. I would suggest
- 1.9.4 will be released in early 2012. It has only small update.
because developmen...
kosaki (Motohiro KOSAKI)
10:20 AM Feature #5056: About 1.9 EOL
Why was 1.9 named "1.9", not "2.0" ? Because some feature was missing?
Where can I refer the discussion of the time? Or can anyone remember?
I guess it will be helpful to discuss this ticket.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
10:05 AM Feature #5056: About 1.9 EOL
Shyouhei Urabe wrote:
> Sorry, I don't get it. "2.0 is one of 1.9 series" ? Please explain a bit.
> ...
There are two principles of Ruby 2.0; in short,
* 2.0 is much different from 1.9.3
* 2.0 is not different from 1.9.3 so much
...
naruse (Yui NARUSE)
09:59 AM Feature #5056: About 1.9 EOL
Hi,

I understand NARUSE-san's comment (feature of 2.0 is matter) and
Urabe-san's comment (needs a lot of time to discuss 2.0 features).

My suggestion is:
- release 1.9.4, as an extension of 1.9.3 by 2012
- during making ...
ko1 (Koichi Sasada)
01:39 AM Feature #5056: About 1.9 EOL
Sorry, I don't get it. "2.0 is one of 1.9 series" ? Please explain a bit.
But I really want this topic to be concise. Thank you.
風呂敷広げて議論が発散するのは勘弁してください。
shyouhei (Shyouhei Urabe)
11:26 PM Bug #5067: BasicObject's constant lookup documentation
Matz explicitly stated in #3768, that it is intended that BasicObject does not
resolve constants beyond itself. But he does not make mention to the workaround
by using const_missing.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
11:11 PM Bug #5067 (Closed): BasicObject's constant lookup documentation
Take a look at https://github.com/ruby/ruby/pull/31 .
It's OK for me to merge this request -- no technical difficulties -- but is it a right thing to be documented?
shyouhei (Shyouhei Urabe)
11:23 PM Bug #4731: ruby -S irb fails with mingw/msys vanilla builds
On Thu, Jul 21, 2011 at 11:07 AM, Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
> Hi,
>
> At Sun, 17 Jul 2011 05:22:32 +0900,
> Luis Lavena wrote in [ruby-core:38108]:
>> I would like to understand why original script is merged with...
luislavena (Luis Lavena)
11:23 PM Bug #4731: ruby -S irb fails with mingw/msys vanilla builds
Hi,

At Sun, 17 Jul 2011 05:22:32 +0900,
Luis Lavena wrote in [ruby-core:38108]:
> I would like to understand why original script is merged with the
> batchfile stub in tools/rbinstall.rb
>
> Perhaps we can remove that?
...
nobu (Nobuyoshi Nakada)
11:23 PM Bug #4485: Gem.bin_path('rake') does not return the path of the system-installed rake
Hi,

At Sat, 9 Jul 2011 08:47:13 +0900,
Eric Hodel wrote in [ruby-core:37902]:
> The attached patch adds executables to the stub gemspecs and installs a copy of bin/rake into the gem directory.

It seems a half of the path i...
nobu (Nobuyoshi Nakada)
02:34 PM Bug #4485: Gem.bin_path('rake') does not return the path of the system-installed rake
Nobu, please review Eric's patch soon. We don't have much time. kosaki (Motohiro KOSAKI)
10:20 PM Feature #5054: Compress a sequence of ends
It was suggested I show my gist :)
https://gist.github.com/1095634
wayneeseguin (Wayne E. Seguin)
03:20 PM Feature #5054: Compress a sequence of ends
> The best strategy that I have come up with is to arbitrarily insert/remove additional ends somewhere, and see what happens, and zoom in on the problem location with something close to binary search.
This is something I've definitely...
krainboltgreene (Kurtis Rainbolt-Greene)
02:37 PM Feature #5054: Compress a sequence of ends
end!, end*, endall. Counting is not very serious.
See a similar issue: #5065
lazaridis.com (Lazaridis Ilias)
02:34 PM Feature #5054: Compress a sequence of ends
deleted by myself
lazaridis.com (Lazaridis Ilias)
01:26 PM Feature #5054: Compress a sequence of ends
Kurtis Rainbolt-Greene wrote:
> The `endwhile` and `endif` or `fi` solutions aren't *solutions* because they can't be used for block arguments for methods:
> ...
What about enddo? That would work in the example above. We would have t...
duerst (Martin Dürst)
07:04 AM Feature #5054: Compress a sequence of ends
I'd just like to know, as someone who deals with this currently, that a lot of the examples shown here use keywords. While keywords are certainly a big part of Ruby blocks, they aren't the *only* blocks. In fact, as Ruby excels at it, th... krainboltgreene (Kurtis Rainbolt-Greene)
03:53 AM Feature #5054: Compress a sequence of ends
Ralph Corderoy wrote:
> Nothing seems to ensure the author will bother doing e___e___end and have the e's align with the start of the blocks though.
Nothing either ensures that someone will properly indent the source code (unless y...
pygy (Pierre-Yves Gérardy)
03:12 AM Feature #5054: Compress a sequence of ends
> If the code gets too big for this kind of reduction, then it should probably be refactored into multiple methods.
While this is a good advice in itself, it still does not give you the ability to OMIT the ends.
The proposal of "en...
shevegen (Robert A. Heiler)
02:42 AM Feature #5054: Compress a sequence of ends
Ralph Corderoy wrote:
> > I'm still _very_ much for the current style and haven't wrapped my mind around the new visual look.
> ...
What, you can't bare the idea of a room full of hackers with their shoes off trying to debug their 13 l...
jonforums (Jon Forums)
01:27 AM Feature #5054: Compress a sequence of ends
Jon Forums wrote:
> I'm still _very_ much for the current style and haven't wrapped my mind around the new visual look.
> ...
That makes me have to count the number of blocks it's closing to ensure it's five. Please have the computer ...
RalphCorderoy (Ralph Corderoy)
12:33 AM Feature #5054: Compress a sequence of ends
There are better ways to deal this, e.g.
module MyModule
class MyClass
def my_method
10.times{ p :small if rand < 0.5 }
end
end
end
If the code gets too big for this kind of reduction, then i...
trans (Thomas Sawyer)
12:20 AM Feature #5054: Compress a sequence of ends
I'm still _very_ much for the current style and haven't wrapped my mind around the new visual look. It all looks like some wacky mashup of Ruby and Python. That said, here's another one.
module MyModule
class MyClass
def my_me...
jonforums (Jon Forums)
09:40 PM Revision d9a7509b (git): * 2011-07-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:40 PM Revision 01e1dcef (git): * backport of r32600 from trunk
* lib/csv.rb: Do not modify CSV.generate's argument [ruby-core:38356]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
09:37 PM Revision 480c0f69 (git): * 2011-07-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:37 PM Revision 616cae10 (git): * lib/csv.rb: Do not modify CSV.generate's argument [ruby-core:38356]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
09:13 PM Feature #4347 (Closed): Tracing cannot be re-enabled after callcc [patch]
Done. Thank you very much!
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
08:43 PM Feature #4347: Tracing cannot be re-enabled after callcc [patch]
> @James
> ...
Of course, I'd respect your decision. Please commit it to ruby_1_9_3 branch. ;-)
kosaki (Motohiro KOSAKI)
08:20 PM Feature #4347 (Assigned): Tracing cannot be re-enabled after callcc [patch]
Hello,
@James
Sorry, I didn't make the deadline to import your patch.
Kosaki, who is the "virtual" release manager, changed this ticket to
1.9.x feature.
I've just imported it to trunk. It is up to a release manager to
decide wh...
mame (Yusuke Endoh)
08:09 PM Feature #4347 (Closed): Tracing cannot be re-enabled after callcc [patch]
This issue was solved with changeset r32597.
James, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* thread.c (set_trace_func, thread_set_trace_func_m): reset trac...
mame (Yusuke Endoh)
08:53 PM Feature #4539: Array#zip_with
On Mon, Jul 18, 2011 at 4:06 PM, Thomas Sawyer <transfire@gmail.com> wrote:

> @adam Perhaps you are right. Perhaps the real issue is why #map can't take
> optional "zipping" arguments?
>

I believe there is a suggestion fro...
aprescott (Adam Prescott)
08:53 PM Feature #5065: Allow "}" as an alternative to "end"
On Thu, Jul 21, 2011 at 6:28 AM, Lazaridis Ilias <ilias@lazaridis.com>wrote:
> ```ruby
> ...
I can't say I like this proposal, or my own thoughts below, but I would
expect this, instead:
```ruby
module MyModule {
class MyClass {
def...
aprescott (Adam Prescott)
03:47 PM Feature #5065: Allow "}" as an alternative to "end"
Your request looks nice for me. Additionally endall will be used at the end of file in most cases, so it's useful if EOF is interpreted as your endall. technohippy (Yasushi ANDO)
02:28 PM Feature #5065 (Rejected): Allow "}" as an alternative to "end"
I've noticed issue #5054, subjecting an "endall".
```ruby
module MyModule
class MyClass
def my_method
10.times do
if rand < 0.5
p :small
endall
```
To reduce typing, but to keep the lev...
lazaridis.com (Lazaridis Ilias)
08:14 PM Feature #4967: dmalloc reported memory leaks in ruby
Interesting, but briefly I inspect the list includes many false positive.
You may think they are leaked, but they are correctly GCed.
Anyway we sometimes uses valgrind.
naruse (Yui NARUSE)
05:31 PM Bug #5066 (Closed): Doc Array#delete_at inconsistence fix
This issue was solved with changeset r32594.
samuel, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* array.c (rb_ary_delete_at_m): use simple array literal in rdo...
naruse (Yui NARUSE)
02:54 PM Bug #5066 (Closed): Doc Array#delete_at inconsistence fix
=begin
The documentation for the #delete_at method is inconsistent concerning the example array initialization. For all array examples brackets are used for the creation, except the #delete_at is uses the '%w' flavor.
In terms of a con...
tonini (samuel tonini)
05:27 PM Bug #5022 (Closed): WEBrick returns improper response for malformed HTTP Request
This issue was solved with changeset r32593.
Felix, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#each):
Allo...
naruse (Yui NARUSE)
02:30 PM Bug #5022 (Assigned): WEBrick returns improper response for malformed HTTP Request
kosaki (Motohiro KOSAKI)
03:52 PM Bug #5034: C Source Code formatting
> To make this issue productive again:
> ...
Historical reason.
Additional to say Ruby has some codes ported from other projects like *BSD, Oniguruma and so on.
Such codes keep its style to ease merging a new code.
> * please sugge...
naruse (Yui NARUSE)
02:55 PM Bug #5034: C Source Code formatting
=begin
"
To make this issue productive again:
* please state the rationale for the use of tab-8/space-4 for a indent-4 project.
* please suggest a solution for simple tools, thus there's no need to use tab-8/space-4 manually.
"
...
lazaridis.com (Lazaridis Ilias)
03:47 PM Feature #4845: Provide Class#cb_object_instantiated_from_literal(object)
Please reconsider this issue independent of the given context (in it's general context of implementing an event which reports object creation).
I can file a new issue, but the essence would be the same:
Getting (on request, e.g. wh...
lazaridis.com (Lazaridis Ilias)
03:26 PM Feature #4963: Refine and Document the Issue Tracking Process
An issue type "Task" would be helpful (sometimes its simply a task which is filed). lazaridis.com (Lazaridis Ilias)
03:25 PM Feature #4963: Refine and Document the Issue Tracking Process
Yui NARUSE wrote:
> We want a documentation which prevents people who don't read previous discussion
> ...
Mr. Naruse, I'm sorry, I could not understand this comment.
lazaridis.com (Lazaridis Ilias)
02:59 PM Bug #4062: "gem uninstall" does not honor --program-suffix
Ping? kosaki (Motohiro KOSAKI)
02:57 PM Bug #4012 (Feedback): Get segmentation fault when trying to call method from 3rd party's API
kosaki (Motohiro KOSAKI)
02:55 PM Bug #3320: emacs ruby-mode.el font-lock fails on symboled string ending with ?
ETIMEOUT. ruby-mode.el never be release stopper. kosaki (Motohiro KOSAKI)
02:50 PM Bug #4301: Off-by-one line number in Psych parse error
I wonder why this issue is not 3rd party issue. Anyway this is not 1.9.3 material.
kosaki (Motohiro KOSAKI)
02:24 PM Feature #4893: Literal Instantiation breaks Object Model
This one should do the work fine.
Further optimization / normalization (and thus increase of the overall method-handling consistency) depends on some refactoring (and slight redesign) of existent units, especially vm_method.c. I'll po...
lazaridis.com (Lazaridis Ilias)
02:12 PM Bug #5020 (Assigned): Rational cannot coerce into Complex with imag.
バグという意見に同意ですが、regressionじゃないようなので誰もハンドルしないなら
来週ぐらいにタイムアウト発動させる予定です
kosaki (Motohiro KOSAKI)
02:09 PM Bug #4398: Highlighting of "'?" in Emacs
error, ETOOLATE.
I don't think 1.9.3 must be included this patch.
But I hope nobu give the contributor a feedback more quickly, now he is full time commiter. ;)
kosaki (Motohiro KOSAKI)
02:03 PM Bug #4097: Unexpected result of STDIN.read on Windows
Tarui-san, ping? kosaki (Motohiro KOSAKI)
02:02 PM Bug #3924: Performance bug (in require?)
I've switched the target version to 1.9.x. This issue is absolutely important, but sadly it's too late. ;-)
kosaki (Motohiro KOSAKI)
01:57 PM Bug #4457: Time#strftime で %z 指定子などに大きな幅を指定した際の不具合
こちら、状況いかがでしょうか? kosaki (Motohiro KOSAKI)
01:56 PM Bug #4957: IO.copystream seems make hangup on cygwin (was 2011-07-01 Snapshot build)
サブジェクト変えます kosaki (Motohiro KOSAKI)
01:10 PM Feature #5064 (Assigned): HTTP user-agent class
Currently there are some problems with Net::HTTP:
* Too many ways to use (user confusion)
* No automatic support for HTTPS (must conditionally set use_ssl)
* No automatic support for HTTPS peer verification (must be manually set)
*...
drbrain (Eric Hodel)
12:12 PM Revision 1d9cac36 (git): * backport r32597 from trunk.
* thread.c (set_trace_func, thread_set_trace_func_m): reset tracing
state when set_trace_func hook is removed. This is workaround patch
to force to reset tracing state that is broken by continuation call.
a patch from James M. Law...
mame (Yusuke Endoh)
12:02 PM Revision 272322be (git): * ext/socket/ancdata.c (discard_cmsg): workaround for MacOS X Lion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:02 PM Revision f0353afd (git): * ext/socket/ancdata.c (discard_cmsg): workaround for MacOS X Lion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:09 AM Revision 9752864b (git): * thread.c (set_trace_func, thread_set_trace_func_m): reset tracing
state when set_trace_func hook is removed. This is workaround patch
to force to reset tracing state that is broken by continuation call.
a patch from James M. Lawrence. [Feature #4347] [ruby-core:34998]
* test/ruby/test_continuati...
mame (Yusuke Endoh)
10:55 AM Bug #5047: Segfault (most likely involving require)
I get SEGV with ruby 1.9.3dev (2011-07-21 revision 32592) [x86_64-linux] as well. Still investigating.
Note: Don't forget to backport when we fixes it.
nahi (Hiroshi Nakamura)
10:47 AM Bug #5047 (Assigned): Segfault (most likely involving require)
Confirmed the SEGV on my machine. I'll investigate it. nahi (Hiroshi Nakamura)
10:35 AM Revision e98c8451 (git): * node.c (dump_node): add today's knowledge. "init arguments (m)" and
"init arguments (p)" of compile.c indicates a Ruby code that
evaluates multiple assignments that is in method or block
parameters: def foo((m1,m2), (m3,m4), *r, (p1,p2), (p3,p4)); end
The former (init arguments (m)) evaluates the ...
mame (Yusuke Endoh)
10:28 AM Bug #5061 (Third Party's Issue): Segfault
Yusuke Endoh wrote:
> BTW, Nahi, who is familiar with rails, could you check #5047? :-)
OK, I'll check that though they're not related to Rails :)
nahi (Hiroshi Nakamura)
09:23 AM Feature #5041: Set FD_CLOEXEC for all fds (except 0, 1, 2)
Akira Tanaka <akr@fsij.org> wrote:
> Eric Wong wrote:
> > I support this proposal for Ruby 2.0. Very few applications depend on
> > FD passing via exec() and they can easily be updated to set
> > close_on_exec=false.
> >
>...
normalperson (Eric Wong)
08:48 AM Feature #5041: Set FD_CLOEXEC for all fds (except 0, 1, 2)
> Eric Wong wrote:
> ...
We commonly dup FD 2 so subprocesses can drill back out to parent's $STDERR, after parent has redirected FD 2 to /dev/null.
Ruby needs a generic callback upon Process.fork.
See:
https://github.com/kstephens/rub...
kstephens (Kurt Stephens)
08:25 AM Feature #5041: Set FD_CLOEXEC for all fds (except 0, 1, 2)
Eric Wong wrote:
> I support this proposal for Ruby 2.0. Very few applications depend on
> ...
Thank you for your support for this issue.
My (and matz's) intent is for 1.9.4.
I'm not sure the next version will be 1.9.4 or 2.0, tho...
akr (Akira Tanaka)
07:53 AM Feature #5041: Set FD_CLOEXEC for all fds (except 0, 1, 2)
Akira Tanaka <akr@fsij.org> wrote:
> I'd like to set FD_CLOEXEC for all file descriptors (except 0, 1, 2,
> i.e. standard input/output/error).
>
> I talked this issue with kosaki and matz at RubyKaigi 2011 and
> matz said "do...
normalperson (Eric Wong)
09:18 AM Bug #5031 (Feedback): Enumerable#zip SEGFAULTs with a Range Object (Mac OS X 10.7 LION)
We haven't try the Lion beta release, but We've try the Lion production release.
(yeah, the Lion has been released yesterday)
And I'd report we confirmed your testcase work for me on Lion production release.
Can you please try lates...
kosaki (Motohiro KOSAKI)
09:12 AM Revision 579f2a0a (git): * enum.c (enum_inject): remove empty line to notify rdoc
Enumerable#reduce is alias. patched by milki@github.
https://github.com/ruby/ruby/pull/26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:31 AM Revision 35f2f9bf (git): * array.c (rb_ary_delete_at_m): use simple array literal in rdoc.
patched by samuel tonini. [ruby-core:38310] [Bug #5066]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:27 AM Revision 2dfc9e16 (git): * lib/webrick/httprequest.rb (WEBrick::HTTPRequest#each):
Allow HTTP/0.9 request which doesn't has any header or body.
patched by Felix Jodoin. [ruby-core:38040] [Bug #5022]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:49 AM Bug #5062 (Assigned): double free in OpenSSL::Engine
Thanks Ippei,
I'll take a look at it!
MartinBosslet (Martin Bosslet)
02:49 AM Bug #5062 (Closed): double free in OpenSSL::Engine
以下のコードを実行すると終了時にglibcがdouble freeを検出して停止します。
require 'openssl'
OpenSSL::Engine.load
OpenSSL::Engine.engines
OpenSSL::Engine.engines
停止時の出力を添付します。
ENGINE_get_nextが前に返したengineのref countを下げるのが原因のようで、添付したパッチでとりあえず直ります。
ohai (Ippei Obayashi)
04:17 AM Bug #5063 (Rejected): OpenSSL PKCS5 PBKDF2 implementation fails RFC6070 test.
drbrain (Eric Hodel)
03:33 AM Bug #5063: OpenSSL PKCS5 PBKDF2 implementation fails RFC6070 test.
RESOLVED: I accidentally tested with single quotes. My tests pass when I use the correct quotes. Paploo (Jeff Reinecke)
03:25 AM Bug #5063 (Rejected): OpenSSL PKCS5 PBKDF2 implementation fails RFC6070 test.
RFC6070 contains reference tests for the PKCS5 v2 PBKDF2 implementation in RFC2898. OpenSSL::PKCS5.pbkdf2_hmac_sha1 conforms to this standards in all of the reference tests, except for the last one:
OpenSSL::PKCS5.pbkdf2_hmac_sha1('p...
Paploo (Jeff Reinecke)
 

Also available in: Atom