Project

General

Profile

Activity

From 04/11/2014 to 04/17/2014

04/17/2014

11:50 PM Bug #9752 (Closed): r45598 causes Errno::EINVAL on Solaris
Applied in changeset r45615.
----------
configure.in: rb_cv_getcwd_malloc
* configure.in (rb_cv_getcwd_malloc): check if getcwd allocates
buffer if NULL is given [ruby-core:62072] [Bug #9752]
nobu (Nobuyoshi Nakada)
02:30 PM Bug #9752: r45598 causes Errno::EINVAL on Solaris
Is this a Solaris issue specifically? Or is this broken on other commercial platforms as well, like AIX and HP-UX? djberg96 (Daniel Berger)
09:16 AM Bug #9752 (Closed): r45598 causes Errno::EINVAL on Solaris
On Solaris, after r45598, the following error occurs. ngoto (Naohisa Goto)
11:50 PM Revision b97de74e (git): * 2014-04-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:50 PM Revision f8d64537 (git): configure.in: rb_cv_getcwd_malloc
* configure.in (rb_cv_getcwd_malloc): check if getcwd allocates
buffer if NULL is given [ruby-core:62072] [Bug #9752]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:46 PM Feature #7240: Inheritable #included/#extended Hooks For Modules
I'm a relatively new Ruby programmer so I may have missed some of the nuances, but I have written http://rubygems.org/gems/extended_include that I *believe* satisfies the original posting requirements.
In a nutshell:
~~~
require '...
bkatzung (Brian Katzung)
11:25 PM Feature #8895: Destructuring Assignment for Hash
This is what I'm imagining:
~~~ruby
a, *b, c:, d: 'd', **e = [1, {c: 2}]
a == 1
b == []
c == 2
d == 'd'
e == {} # holds any extras just like `b`
~~~
Where an error would be thrown if the hash didn't have the given key, and...
seanlinsley (Sean Linsley)
07:12 PM Bug #9754: Ruby refuses to run source with Mutex locks though there is no hazard..
A Mutex is not reentrant.
This deadlocks:
m = Mutex.new
m.lock
m.synchronize {}
So does this:
m = Mutex.new
m.synchronize {m.synchronize {}}
But Monitor is reentrant, so the following does not deadlo...
vjoel (Joel VanderWerf)
10:48 AM Bug #9754 (Closed): Ruby refuses to run source with Mutex locks though there is no hazard..
I put this up on a forum for a week in case there was something I didn't know about Ruby Mutexes ..
but no one commented. So apologies in advance if some discussion is needed.
In this code, the locks are used as latches, so there is ...
ThomasWLynch (Thomas Lynch)
10:43 AM Bug #9753 (Rejected): UNIX Socket doesn't handle multiple clients
`data_sock` is overwritten by the next loop.
You have to pass it to worker threads as a block parameter too.
nobu (Nobuyoshi Nakada)
10:31 AM Bug #9753 (Rejected): UNIX Socket doesn't handle multiple clients
When a first client session is still active, a second client session starting then closing its connection causes the first session to hang.
This can be reproduced every time by using the included source files and these directions:
...
ThomasWLynch (Thomas Lynch)
08:24 AM Revision 2254fc65 (git): ruby.c: drop older cygwin
* ruby.c (push_include_cygwin): drop older cygwin support.
* ruby.c (ruby_init_loadpath_safe): ditto, and always use String as
libpath buffer on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45614 b2dd03c8-39d4-4d8f-98ff...
nobu (Nobuyoshi Nakada)
08:24 AM Revision be116626 (git): gc.c: suppress a warning
* gc.c (get_envparam_size): suppress a warning by char-subscripts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:54 AM Bug #9321: rb_mod_const_missing does not generate a c-return event
Thanks Koichi, appreciated. :) deivid (David Rodríguez)
07:31 AM Revision 0476b872 (git): * prelude.rb: [DOC] Update Thread::exclusive docs by @stevenharman.
[ci skip][fix GH-589]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
06:53 AM Revision cd7aafa8 (git): * template/opt_sc.inc.tmpl: [DOC] Fix typo in comment by @imasahiro [ci skip][fix GH-595]
* template/optinsn.inc.tmpl: ditto.
* template/optunifs.inc.tmpl: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
05:23 AM Revision a0209e48 (git): string.c: argument check
* string.c (rb_str_cat_cstr): check the argument as other `_cstr`
functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:22 AM Revision 37dffb59 (git): string.c: rb_str_cat_cstr
* string.c (rb_str_cat): make non-buf version main.
* string.c (rb_str_cat_cstr): rename from rb_str_cat2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:11 AM Bug #9751 (Closed): Process.wait does not work correctly in a thread
The following code fails under Ruby 1.9+, used to work on 1.8 with green threads
```
def test
if pid = fork
puts "child pid is #{pid} waiting ..."
begin
Process.wait(pid)
puts "child exited"
rescue => ...
sam.saffron (Sam Saffron)
02:41 AM Revision 3d69324b (git): configure.in: FUNC_MINIMIZED
* configure.in (RUBY_FUNC_ATTRIBUTE): escape double quotes in
attribute.
* configure.in (FUNC_MINIMIZED): attribute to minimize function
body.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45608 b2dd03c8-39d4-4d8f-98ff-823fe69b...
nobu (Nobuyoshi Nakada)
02:41 AM Revision 3784395b (git): string.c: alias of rb_str_buf_cat and rb_str_buf_cat2
* string.c (rb_str_cat, rb_str_cat2): make aliases of
rb_str_buf_cat and rb_str_buf_cat2 respectively.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:41 AM Revision df662292 (git): string.c: reduce duplicated code
* string.c (rb_str_cat, rb_str_cat2): reduce duplicated code, they
are same as rb_str_buf_cat and rb_str_buf_cat2 respectively now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:04 AM Bug #9748 (Closed): FileUtils.cp always preserve the permission of original files
Applied in changeset r45604.
----------
fileutils.rb: [DOC] update rdoc
* lib/fileutils.rb (FileUtils#copy_entry): update rdoc about
preserve option and permissions, following r31123.
[ruby-core:62065] [Bug #9748]
nobu (Nobuyoshi Nakada)
01:00 AM Bug #9748 (Open): FileUtils.cp always preserve the permission of original files
Thank you, I'll fix the document. nobu (Nobuyoshi Nakada)
12:02 AM Bug #9748: FileUtils.cp always preserve the permission of original files
Thanks,Nobuyoshi. I wondered that also. However, If so, the behavior is different from ruby 2.1.1's document. Also, :preserve=>true or :perserve=>false makes no difference. Is it expected? wehu (Wei Hu)
01:04 AM Revision 6239e99d (git): * 2014-04-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:03 AM Revision 52ca9088 (git): fileutils.rb: [DOC] update rdoc
* lib/fileutils.rb (FileUtils#copy_entry): update rdoc about
preserve option and permissions, following r31123.
[ruby-core:62065] [Bug #9748]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:40 AM Bug #8344: Status of Psych and Syck
On Mon, Mar 24, 2014 at 07:31:31AM +0000, e@zzak.io wrote:
> Issue #8344 has been updated by Zachary Scott.
>
> Status changed from Closed to Assigned
> Target version changed from 2.1.0 to current: 2.2.0
>
> -------------------...
tenderlovemaking (Aaron Patterson)

04/16/2014

05:42 PM Bug #9750 (Closed): OpenSSL::SSL::SSLServer can not accept a Socket as it's first parameter
This could potentially be an issue with a lack of documentation, in which case this may be more appropriate as a feature request.
The first parameter of OpenSSL::SSL::SSLServer#initialize takes a TCPServer without any issue, however, ...
sstelfox (Sam Stelfox)
02:47 PM Bug #9749 (Closed): r45589 introduced an incompatibility
Applied in changeset r45603.
----------
enum.c: fix condition to recycle block argument
* enum.c (dont_recycle_block_arg): fix condition to recycle block
argument. lambda with rest can get internal array directly.
[ruby-core:62060...
nobu (Nobuyoshi Nakada)
12:59 PM Bug #9749 (Closed): r45589 introduced an incompatibility
$ ruby -ve 'ary = []; (1..10).each_slice(3, &lambda {|a, *| ary << a }); p ary'
ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux]
[[1, 2, 3], [4, 5, 6], [7, 8, 9], [10]]
$ ./miniruby -ve 'ary = []; (1..10).each...
mame (Yusuke Endoh)
02:47 PM Revision 118838ad (git): enum.c: fix condition to recycle block argument
* enum.c (dont_recycle_block_arg): fix condition to recycle block
argument. lambda with rest can get internal array directly.
[ruby-core:62060] [Bug #9749]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45603 b2dd03c8-39d4-4d8f-...
nobu (Nobuyoshi Nakada)
02:44 PM Revision fcbd13b1 (git): test_enum.rb: add tests
* test/ruby/test_enum.rb (test_each_slice, test_each_cons): add
missing tests for Enumerable#each_slice and Enumerable#each_cons.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:32 PM Bug #9748 (Rejected): FileUtils.cp always preserve the permission of original files
It is same as `cp` command. nobu (Nobuyoshi Nakada)
08:00 AM Bug #9748 (Closed): FileUtils.cp always preserve the permission of original files
`FileUtils.cp` will always preserve the permission of original files even if we passed `:preserve=>false`.
I think the problem is because:
~~~diff
< File.open(dest, 'wb') do |f|
---
> File.open(dest, 'wb', s.stat...
wehu (Wei Hu)
02:31 PM Bug #9657: Segfault in bigdecimal/util.rb Float#to_d
Patch file and a command to apply it, if you want to build Ruby 2.1.1 but with this patched:
https://gist.github.com/henrik/10880288
henrik@nyh.se (Henrik Nyh)
02:30 PM Revision 4c98e1a2 (git): * test/fileutils/test_fileutils.rb: revert r45600.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:16 PM Revision a6abfa2d (git): test_fileutils.rb: test :preserve option
* test/fileutils/test_fileutils.rb (test_cp_preserve_permissions):
should test with setting :preserve option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:25 PM Bug #7821 (Rejected): FileUtils.mkdir_p fails on Windows Unicode paths (\\?\UNC\) if dir already exists
See #7822. usa (Usaku NAKAMURA)
12:18 PM Bug #7821: FileUtils.mkdir_p fails on Windows Unicode paths (\\?\UNC\) if dir already exists
The path with "\\?\" must be fullpath.
It's the spec of Windows.
usa (Usaku NAKAMURA)
11:49 AM Bug #7821: FileUtils.mkdir_p fails on Windows Unicode paths (\\?\UNC\) if dir already exists
This is actually due to a bug in File.directory?
~~~
File.directory?("\\\\?\\C:")
~~~
returns false. New bug for this?
elovelan (Eric Loveland)
12:24 PM Bug #7822 (Rejected): Dir.mkdir can't handle long Windows Unicode paths (\\?\UNC\)
After all, the user using special form like "\\?\" should know the meaning and effect,
so ruby doesn't ought to support it.
Of course, if there is a good patch, I my accept it.
usa (Usaku NAKAMURA)
11:19 AM Bug #7822: Dir.mkdir can't handle long Windows Unicode paths (\\?\UNC\)
I would recommend that this bug be closed. However, I have not found any feature requests for better support of "\\\\?\\". Is it worth submitting one or would this be better handled with a gem? elovelan (Eric Loveland)
04:23 AM Bug #7822: Dir.mkdir can't handle long Windows Unicode paths (\\?\UNC\)
(1) Windows has the limitation about the length of each directory name.
It's 255 characters.
So, even if with using UNC name, you cannot make such directory, Patrick.
(2) Yes, you are right, Eric.
Only when using "\\\\?...
usa (Usaku NAKAMURA)
03:36 AM Bug #7822: Dir.mkdir can't handle long Windows Unicode paths (\\?\UNC\)
The linked article mentions that each component (individual folder in the path) can have a maximum of 255 characters.
The following works:
~~~
Dir.mkdir "\\\\?\\C:\\#{'t'*255}"
Dir.mkdir "\\\\?\\C:\\#{'t'*255}\\#{'t'*255}"
~~~
...
elovelan (Eric Loveland)
10:28 AM Bug #8716: segmation fault 正規表現で大量のグループを利用時
落ちる原因が2つあることが分かりました。
1. alloca でスタックオーバーフロー ([修正済み](https://github.com/k-takata/Onigmo/commit/a0efc0a200f7108ca3d5ac3039c8f952e0051619))
2. そもそも鬼雲(鬼車も)は、グループの数を short で管理しているため、32767個以上のグループを管理できない。32768個あるとインデックスが負になり、不正アクセスが発生。(未修正...
k_takata (Ken Takata)
10:21 AM Bug #8543: new rb_iseq_load crash
Hello again,
The attached files comprise a small example which appears to consistently
reproduce a segmentation fault with rb_iseq_load.
Interpreter is: ruby 2.2.0dev (2014-04-16 trunk 45597) [i386-mswin32_100]
The crash appear...
spatulasnout (B Kelly)
08:25 AM Bug #8543: new rb_iseq_load crash
Hi,
Just a data point:
With ruby 2.2.0dev (2014-04-16 trunk 45576) [i386-mswin32_100],
the rb_iseq_load example in https://bugs.ruby-lang.org/issues/8543
is producing the correct output.
(I will attempt to test with more comp...
spatulasnout (B Kelly)
08:46 AM Revision 66135801 (git): ruby.c: remove mangled_path
* ruby.c (rubylib_mangled_path): remove obsolete code, which has
been disabled since 5 years ago.
* man/ruby.1 (ENVIRONMENT): delete an obsolete variable to mangle
path, RUBYLIB_PREFIX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
nobu (Nobuyoshi Nakada)
08:46 AM Revision 17eb86eb (git): util.c: let getcwd allocate buffer
* util.c (ruby_getcwd): POSIX.1-2001 extends getcwd(3) as it
allocates the buffer if the argument is NULL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:46 AM Revision 9f4f9048 (git): win32.c: CharNextExA with cp
* win32/win32.c (dln_find_1): use CharNextExA() instead of CharNext()
to respect the given code page.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:46 AM Revision 633def3c (git): dln_find.c: PATH_SEP
* dln_find.c (dln_find_exe_r): use PATH_SEP instead of hardcoding
separators.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:51 AM Bug #9743 (Closed): memory leak in openssl ossl_pkey_verify leaks memory
Applied in changeset r45595.
----------
ossl_pkey.c: fix memory leak
* `ext/openssl/ossl_pkey.c` (`ossl_pkey_verify`): as `EVP_VerifyFinal()`
finalizes only a copy of the digest context, the context must be
cleaned up after ...
nobu (Nobuyoshi Nakada)
12:51 AM Revision a39b88d2 (git): ossl_pkey.c: fix memory leak
* ext/openssl/ossl_pkey.c (ossl_pkey_verify): as EVP_VerifyFinal()
finalizes only a copy of the digest context, the context must be
cleaned up after initialization by EVP_MD_CTX_cleanup() or a
memory leak will occur. [ruby-core:62...
nobu (Nobuyoshi Nakada)

04/15/2014

08:05 PM Bug #9744 (Rejected): Use Ruby DNS resolver to handle DNS timeout in Net::HTTP
see https://github.com/ruby/ruby/pull/597#issuecomment-40507119 hsbt (Hiroshi SHIBATA)
03:36 PM Bug #9744 (Rejected): Use Ruby DNS resolver to handle DNS timeout in Net::HTTP
This is a patch for Net::HTTP standard library.
I ran into an issue when DNS resolution failed because of poor network connection. In this case, even though I had Net::HTTP open_timeout set it didn't stop the operation but kept hangin...
pranas (Pranas Kiziela)
05:54 PM Feature #9123: Make Numeric#nonzero? behavior consistent with Numeric#zero?
Might as well toss in my opinion...
I don't care as a normal Ruby user whether a method returns truthy/falsey or true/false, because I shouldn't care about what the object is if all I need to know is its truthiness.
However, I don'...
headius (Charles Nutter)
04:23 PM Revision 3f266027 (git): * 2014-04-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:23 PM Revision 7d66f955 (git): win32.c: adjust type
* win32/win32.c (NtCmdLineElement): use long instead of int for
rb_w32_wstr_to_mbstr.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:39 AM Revision 1242292d (git): * include/ruby/win32.h (rb_w32_cmdvector): removed.
* win32/win32.c (rb_w32_sysinit): use WCHAR version of GetCommandLine()
internally.
* win32/win32.c (w32_cmdvector): renamed from rb_w32_cmdvector. use
WCHAR* instead of char* internally.
these changes are expected to not changing...
U.Nakamura
10:29 AM Revision 07b12e1e (git): * ext/extmk.rb: Re-generate extmk.mk and dummy makefiles only if
really required.
This fixes a problem to run multiple test-all concurrently as:
make test-all & make test-all & make test-all & ...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:57 AM Bug #9743 (Closed): memory leak in openssl ossl_pkey_verify leaks memory
repeated calls to `pub_key.verify(digest, signature, data)` leaks memory.
from what I can gather from the openssl documentation, there seems to be a missing call to `EVP_MD_CTX_cleanup()`
FILE: ossl_pkey.c
~~~C
326 EVP_Ver...
tux (Joel Westerberg)
08:28 AM Bug #9737: Non-ASCII characters in the path to ruby executable break require paths
WIP, no tests yet: https://github.com/nobu/ruby/compare/win32-utf8-loadpath?expand=1 nobu (Nobuyoshi Nakada)
07:31 AM Bug #9740: super: no superclass method in Ruby 2.1.1
I missed to include the reference in the commit log, but just in the test. nobu (Nobuyoshi Nakada)
07:29 AM Bug #9740 (Closed): super: no superclass method in Ruby 2.1.1
nobu (Nobuyoshi Nakada)
03:49 AM Revision d9a17752 (git): * 2014-04-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:49 AM Revision 20675167 (git): enum.c: make each_slice and each_cons more efficient
* enum.c (enum_each_slice, enum_each_cons): make more efficient by
allocating less and recycling block argument arrays if possible.
[Fixes GH-596]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45589 b2dd03c8-39d4-4d8f-98ff-823fe...
nobu (Nobuyoshi Nakada)
12:31 AM Bug #8358: TestSprintf#test_float test failure
@luis I was using assign as a reminder to check back on this ticket, when I have more time to review Anatol's response.
I think nobu will be able to decide about removing the SSE2 code. Admittedly it sucks that downstream package main...
zzak (zzak _)

04/14/2014

10:10 PM Bug #9321: rb_mod_const_missing does not generate a c-return event
I vote to backport this ticket. I want to help them:
https://github.com/deivid-rodriguez/byebug/issues/16#issuecomment-40421841
ko1 (Koichi Sasada)
09:36 PM Bug #9742: Error when trying to debug line with "startDate = Time.parse('2014-Apr-01 12:00:30')"
There is a stdlib time with the parse feature which is not included in core. You can do:
~~~
require 'time'
Time.parse('2014-Apr-01 12:00:30')
~~~
avit (Andrew Vit)
09:26 PM Bug #9742: Error when trying to debug line with "startDate = Time.parse('2014-Apr-01 12:00:30')"
Sreekanth Simhadri wrote:
> Tried debug and parse string which has date and time to Time using below code
> ...
**Resolved** the issue by using DateTime.parse('2014-Apr-01 12:00:30').to_time
sreesreekanth1 (Sreekanth Simhadri)
08:57 PM Bug #9742 (Third Party's Issue): Error when trying to debug line with "startDate = Time.parse('2014-Apr-01 12:00:30')"
Tried debug and parse string which has date and time to Time using below code
Time.parse('2014-Apr-01 12:00:30')
Actual Result: Script failed with error attached errorLog.txt file which was copied from console
Expected Result: ...
sreesreekanth1 (Sreekanth Simhadri)
06:52 PM Bug #8358: TestSprintf#test_float test failure
This change is also causing issues for our Gentoo users that still use x86-based systems. See https://bugs.gentoo.org/show_bug.cgi?id=503804 for our downstream bug. We've also dropped the sse2 configure.in block for now to allow compilat... hansdegraaff (Hans de Graaff)
01:43 PM Revision 70cbe70b (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:10 PM Bug #9740: super: no superclass method in Ruby 2.1.1
sorry, looks like it's fixed @ r45585. We can close this one. Thanks a lot, Nobuyoshi. :) wehu (Wei Hu)
07:36 AM Bug #9740 (Closed): super: no superclass method in Ruby 2.1.1
Below code will result into error:
~~~
super: no superclass method `foo' for #<Object:0x002b0430670fe8>
~~~
However, it can pass with Ruby 1.9 and I am not sure if it's feature changes or bug.
~~~ruby
module A
def foo
...
wehu (Wei Hu)
11:27 AM Misc #9741: Policy for Posting Security & General Announcements on www.ruby-lang.org
What do you mean with this "policy"?
What content do we post or How we process candidate articles?
naruse (Yui NARUSE)
09:36 AM Misc #9741 (Closed): Policy for Posting Security & General Announcements on www.ruby-lang.org
What is the policy for posting security or general announcements on the www.ruby-lang.org blog? hone (Terence Lee)
10:08 AM Revision b0188253 (git): * addr2line.c (fill_lines): get base addrs in fill_lines to use it
with dladdr_fbases introduced at r45563.
it didn't get before if the executalbe is not pie.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
10:08 AM Revision c05940a4 (git): * addr2line.c (main_exe_path): support FreeBSD.
At least sh, csh, tcsh, bash, and zsh sets realpath of the main
executable for dladdr, but gdb doesn't.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:34 AM Bug #9731: Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
I agree with the above comments. Probably waiting for Ruby 2.2 would be the best course of action here.
I will try nevertheless create a workaround by utilising `Method#parameters` to feed the usual `params.slice(*args).symbolize_keys...
vrinek (Konstantinos Karachalios)
08:20 AM Revision 160b67df (git): proc.c: use already included ancestor iclass
* proc.c (umethod_bind): use the ancestor iclass instead of new
iclass to get rid of infinite recursion, if the defined module
is already included. [ruby-core:62014] [Bug #9721]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45...
nobu (Nobuyoshi Nakada)
07:59 AM Revision c2a7a091 (git): object.c: rb_class_search_ancestor
* object.c (rb_class_search_ancestor): return ancestor class or
iclass if inherited.
* object.c (rb_obj_is_kind_of, rb_class_inherited_p): share
function to search the ancestor.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@455...
nobu (Nobuyoshi Nakada)
07:28 AM Feature #9379: Support for using libxml-ruby as XML parser in xmlrpc-libs
I guess support for Nokogiri will be possible as well, I just needed something more efficient than REXML and libXML was the first thing I tried, and it just worked.
Regarding your second point: that really needs some restructuring of ...
herwinw (Herwin Quarantainenet)
05:33 AM Revision c3b82fc6 (git): * 2014-04-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:33 AM Revision 982618ed (git): string.c: reduce function calls
* string.c (rb_enc_cr_str_buf_cat): reduce invariant function
calls of rb_enc_from_index.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:33 AM Revision 925cc8ff (git): string.c: keep source code range
* string.c (rb_enc_cr_str_buf_cat): keep code range of the source
string even if code range of the destination string is unknown.
no reason to the former is affected by the latter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4...
nobu (Nobuyoshi Nakada)
05:18 AM Bug #9739 (Closed): TestException#test_machine_stackoverflow(_by_define_method) failures on x64-mingw32
I have the following two test failures with x64-mingw32 on Windows 7.
~~~
$ gcc -v 2>&1 | tail -n1
gcc version 4.8.2 20130712 (prerelease) (Built by MinGW-builds project)
$ make test-all TESTS="-q ruby/test_exception.rb"
(snip)
...
h.shirosaki (Hiroshi Shirosaki)
04:00 AM Bug #9721: super: no superclass method in Ruby 2.1.1
Hi, Nakada,
Thanks for your fix, but this still has problem. If we run my original example, it will result into:
~~~
B
B
B
t.rb:9: stack level too deep (SystemStackError)
~~~
I think the difference is: in the original example...
wehu (Wei Hu)

04/13/2014

10:25 PM Bug #9657: Segfault in bigdecimal/util.rb Float#to_d
Ah, thanks Dieter, didn't think about that! tiegz (Tieg Zaharia)
10:54 AM Bug #9710: __builtin_setjmp/longjmp causes SEGV with mingw
I guess it should be backported with #9692. wanabe (_ wanabe)
10:52 AM Bug #9698: r45509以降、Solarisにて configureが thread model is missing でエラー
#9692 と一緒にバックポートされるべきと思うのでバックポート欄変更します。
間違っていたら直していただけるとありがたいです。
wanabe (_ wanabe)
10:51 AM Bug #9692: __builtin_longjmp is called with a value greater than 1 (GCC compilation error)
I guess it should be backported. wanabe (_ wanabe)
10:49 AM Bug #9716: FileTest.exist? does not convert relative path to absolute path before testing existence
Mario Maia wrote:
> What do you think? And, by the way, should we continue this conversation here or should I open a new bug reporting `#expand_path`?
Use `File.absolute_path`, instead of `File.expand_path`.
nobu (Nobuyoshi Nakada)
08:50 AM Feature #6869: Do not treat `_` parameter exceptionally
Nobuyoshi Nakada wrote:
> Alexey Muranov wrote:
> ...
Thanks, i do not know what i was thinking.
> Alexey Muranov wrote:
> ...
Yes, so this proposal would need to be closed, and i would need to open a new one. When i opened this o...
alexeymuranov (Alexey Muranov)
05:11 AM Feature #6869: Do not treat `_` parameter exceptionally
Alexey Muranov wrote:
> Observe also that the use of repeated `_` parameter is not consistent between methods and blocks: for methods the value is the first assigned value, and for blocks it is the array of all the assigned values.
I...
nobu (Nobuyoshi Nakada)
04:17 AM Bug #9738 (Closed): A document fix for Rinda::TupleEntry#renew
As shown in the attached patch, Rinda::TupleEntry#renew
accept true instead of false (true is consistent with make_expires).
In fact, in the current source code false is also acceptable and
works as documented but it is not intenti...
ohai (Ippei Obayashi)
03:48 AM Revision 9aa67e26 (git): * bignum.c (SIZEOF_BDIGIT): Renamed from SIZEOF_BDIGITS.
* internal.h: Ditto.
* marshal.c: Ditto.
* rational.c: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:01 AM Bug #9737 (Closed): Non-ASCII characters in the path to ruby executable break require paths
Hi,
On Windows, if non-ASCII characters exist the path on which the ruby
interpreter is invoked, the character encoding is not handled properly
when the require paths in $: are created, making ruby unable to require
libraries in it...
spatulasnout (B Kelly)
01:21 AM Revision db9d8759 (git): * common.mk: Unused target, $(MKMAIN_CMD), removed.
* Makefile.in (MKMAIN_CMD): Unused macro removed.
* win32/Makefile.sub (MKMAIN_CMD): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:59 AM Revision 5e3254a9 (git): * 2014-04-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:59 AM Revision 3a78169e (git): * ext/psych/lib/psych.rb: [DOC] Fix a dead link in Psych by @rochefort [ci skip][fix GH-593]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)

04/12/2014

07:30 PM Bug #9657: Segfault in bigdecimal/util.rb Float#to_d
Tieg Zaharia wrote:
> It seems like the fix might not make it out until 2.2.
I think as bigdecimal is released as its own gem, the fix could be released sooner than ruby 2.2?
kommen (Dieter Komendera)
01:11 PM Revision 2f3b28c6 (git): string.c: clear env self in symbol proc
* string.c (sym_to_proc), proc.c (rb_block_clear_env_self): clear
caller's self which is useless, so that it can get collected.
[Fixes GH-592]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:05 PM Feature #6869: Do not treat `_` parameter exceptionally
It looks like the use of the underscore `_` as a "placeholder" is quite common in other languages ("black hole" register in Vim, "whatever" pattern that matches everything in Haskell), but there it is really a placeholder and not a varia... alexeymuranov (Alexey Muranov)
12:58 PM Revision be711df8 (git): marshal.c: remove hack for old gcc
* marshal.c (r_object0): remove hack for old gcc, no gcc 2.x any
more.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:04 AM Bug #9443: Prepended methods are skipped if calling alias
`alias` in Ruby does refer to the same definition with the original method.
Probably what you want would be `Forwardable`.
nobu (Nobuyoshi Nakada)
01:31 AM Feature #9453: Return symbols of defined methods for `attr` and friends
Thomas, private method that accept an array for methods names would be an interesting idea worth discussion.
But it is different issue.
Matz.
matz (Yukihiro Matsumoto)
12:37 AM Revision ccaf4229 (git): Remove unneeded OCSP constant macros
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
12:36 AM Revision dfadac81 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:35 AM Revision d329484a (git): * ext/openssl/ossl_ocsp.c: [DOC] Document OpenSSL::OCSP.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)

04/11/2014

09:09 PM Bug #9731: Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
Yes, I agree with you. I'm also not positive to changing keyword arguments to receive even strings and symbols, but I thought OP should request this feature here since it is not Rails specific, as he would have the same behavior with a n... rafaelfranca (Rafael França)
05:50 PM Bug #9731: Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
I am negative for the proposal. My opinion is that you should not (or no longer) use strings as keywords.
For transition purpose, ActiveSupport (or something else) can add a method to convert strings keys to symbol keys.
Matz.
matz (Yukihiro Matsumoto)
05:14 PM Bug #9731: Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
Just to be clear this issue is not about `HashWithIndifferentAccess`, it is about using hash with string keys to be used as keyword arguments (`HashWithIndifferentAccess` store the keys as strings).
This same script would fail:
```...
rafaelfranca (Rafael França)
03:14 PM Bug #9731 (Closed): Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
Origin: https://github.com/rails/rails/issues/14643
In Ruby it is possible to use a POR Hash in place of keyword arguments, making the transition between using an `options = {}` to keyword arguments easy.
The same is not true for ...
vrinek (Konstantinos Karachalios)
07:48 PM Feature #9453: Return symbols of defined methods for `attr` and friends
Letting #private accept an Array seems more preferable then adding yet another ~~method~~ slew of methods: `private_attr_writer`, `private_attr_accessor`, `protected_attr_reader`, `protected_attr_writer`, `protected_attr_accessor`, ...
trans (Thomas Sawyer)
07:31 PM Feature #9625: Define `Pathname#/` to append to the path
+1 This is a no-brainer. trans (Thomas Sawyer)
07:12 PM Feature #9565: Unifying the methods (const|class_variable|instance_variable)_(defined?|get|set)
+1 Fewer methods to remember. Could be used for global vars too. Is `token` the best term though?
trans (Thomas Sawyer)
07:00 PM Feature #9557: Enumerator#next and Enumerator#peek with argument
Such features might benefit from an Indexable mixin. trans (Thomas Sawyer)
06:53 PM Bug #9443: Prepended methods are skipped if calling alias
alias in Ruby really means "copy method". It would be nice if there were a way to truly alias, such that the two names refer to same definition.
trans (Thomas Sawyer)
06:24 PM Feature #8707: Hash#reverse_each
Can `#reverse` be an Enumerator? trans (Thomas Sawyer)
05:54 PM Feature #9379: Support for using libxml-ruby as XML parser in xmlrpc-libs
This seems like a very reasonable idea. (Maybe it would even be possible to add support for Nokogiri too?) One thing though, is there a way to not load REXML at all if it is not needed?
trans (Thomas Sawyer)
04:31 PM Bug #9735 (Rejected): Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
mame (Yusuke Endoh)
03:17 PM Bug #9735 (Rejected): Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
Origin: https://github.com/rails/rails/issues/14643
In Ruby it is possible to use a POR Hash in place of keyword arguments, making the transition between using an `options = {}` to keyword arguments easy.
The same is not true for ...
vrinek (Konstantinos Karachalios)
04:30 PM Bug #9734 (Rejected): Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
mame (Yusuke Endoh)
03:14 PM Bug #9734 (Rejected): Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
Origin: https://github.com/rails/rails/issues/14643
In Ruby it is possible to use a POR Hash in place of keyword arguments, making the transition between using an `options = {}` to keyword arguments easy.
The same is not true for ...
vrinek (Konstantinos Karachalios)
04:30 PM Bug #9733 (Rejected): Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
mame (Yusuke Endoh)
03:45 PM Bug #9733: Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
Accidental duplicate of https://bugs.ruby-lang.org/issues/9731 because of server timing out its response. vrinek (Konstantinos Karachalios)
03:34 PM Bug #9733: Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
Accidental duplicate of https://bugs.ruby-lang.org/issues/9731 because of server timing out its response. vrinek (Konstantinos Karachalios)
03:34 PM Bug #9733: Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
Accidental duplicate of https://bugs.ruby-lang.org/issues/9731 because server was timing out its response. vrinek (Konstantinos Karachalios)
03:14 PM Bug #9733 (Rejected): Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
Origin: https://github.com/rails/rails/issues/14643
In Ruby it is possible to use a POR Hash in place of keyword arguments, making the transition between using an `options = {}` to keyword arguments easy.
The same is not true for ...
vrinek (Konstantinos Karachalios)
04:29 PM Bug #9732 (Rejected): Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
mame (Yusuke Endoh)
03:14 PM Bug #9732 (Rejected): Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
Origin: https://github.com/rails/rails/issues/14643
In Ruby it is possible to use a POR Hash in place of keyword arguments, making the transition between using an `options = {}` to keyword arguments easy.
The same is not true for ...
vrinek (Konstantinos Karachalios)
03:57 PM Bug #9736 (Third Party's Issue): segmentation fault
Hey, I have segmentation fault bug when using my rails application.
ruby: 1.9.3p448
rails: 3.2.12
ajahongir (jahongir alimov)
03:05 PM Revision 089dd6d1 (git): * 2014-04-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:49 PM Revision 761ddb71 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:00 PM Bug #9716: FileTest.exist? does not convert relative path to absolute path before testing existence
Nobuyoshi Nakada wrote:
> If they do it, you have no way to test files start with '~'.
Good point, I hadn't thought about this borderline case. And from this case, I take that this is not a bug on `FileTest`, but on `#expand_path`.
...
101b147ch (Mario Maia)
12:43 PM Bug #9730 (Closed): E:/Rails/Ruby1.9.3/lib/ruby/1.9.1/webrick/server.rb:98: [BUG] Segmentation fault
~~~
ruby 1.9.3p484 (2013-11-22) [i386-mingw32]
(snip)
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Process finished with exit...
swatir (Swati Ray Dey)
10:29 AM Bug #9729 (Assigned): Hash#each が無限ループする
nobu (Nobuyoshi Nakada)
09:18 AM Bug #9729 (Closed): Hash#each が無限ループする
Hash のキーに配列を使い、
キーが同じ値になるように以下のような操作をすると
Hash#each が無限ループします。
~~~
h = {}
h[[]] = 1 # h #=> {[] => 1}
h.keys[0] << 1 # h #=> {[1] => 1}
h[[]] = 1 # h #=> {[1] => 1, [] => 1}
h.keys[1] << 1 # h #=> {[1] => 1, [1] => 1} ...
takkanm (三村 益隆)
10:21 AM Bug #9728: Regexp bug
~~~
I found this issue is related with the ONIG_DONT_OPTIMIZE macro.
If I insert "#define ONIG_DONT_OPTIMIZE" in regint.h, the regexp works like Ruby 1.9.3.
before define:
C:\work\ruby-2.2.0-r45349>miniruby -ve 'p "ab"=~/(?!^a)...
phasis68 (Heesob Park)
06:41 AM Bug #9728 (Closed): Regexp bug
As reported in StackOverflow (http://stackoverflow.com/questions/23004527) (with a wrong expectation), the following regex pattern with the `*` operator does not match.
"ab" =~ /(?!^a).*b/
# => nil
When `?` is used instead...
sawa (Tsuyoshi Sawada)
09:55 AM Revision f2606d62 (git): * array.c (ARY_SET): added.
ARY_SET() is same functionality of RARRAY_ASET(), but
it has an assertion (`ary' doesn't have shared array).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
09:50 AM Feature #9711: Remove test-unit and minitest from stdlib.
I wholeheartedly support this idea. vo.x (Vit Ondruch)
08:47 AM Revision 6bc46320 (git): * array.c: make shared arrays WB-protected objects.
Shared arrays were WB-unprotected object because
sharing array can modify shared array's buffer
if it occupied shared array.
[sharing array (ary)] -> [shared array (shared)] -> <buff>
| ...
ko1 (Koichi Sasada)
08:42 AM Bug #9712: Dir.entries replace Unicode character with questionmarks
Thomas Thomassen wrote:
> Usaku NAKAMURA wrote:
> ...
yes.
> But for Windows this is really awkward. Windows-1252 is the compatibility codepage - but the file system itself is perfectly capable of handling Unicode characters.
> ......
naruse (Yui NARUSE)
06:53 AM Revision 036b55e5 (git): test_array.rb: skip if timed out
* test/ruby/test_array.rb (test_shared_marking): skip if timed out,
this test can just take a lot of time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:41 AM Bug #9723: #size does not trigger evaluation of lazy enumerator.
Thank you!
zekefast (Zeke Fast)
06:28 AM Bug #9505: Bug that should cause SystemStackError segfaults under Ruby 2.1
I've reproduced the same thing with two doubles that reference each other. Also on 2.1.1-p76.
See: https://github.com/JamesFerguson/rspec-mocks-test
jafergus (James Ferguson)
06:17 AM Revision 2cabdf2a (git): test_array.rb: expand timeout
* test/ruby/test_array.rb (test_shared_marking): expand timeout for
less powerful machine.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:05 AM Bug #9721 (Closed): super: no superclass method in Ruby 2.1.1
Applied in changeset r45565.
----------
proc.c: fix super in bound UnboundMethod
* proc.c (rb_method_call_with_block, umethod_bind): call with
IClass including the module for a module instance method.
[ruby-core:61936] [Bug #9721]
...
nobu (Nobuyoshi Nakada)
06:05 AM Revision 46f578d8 (git): proc.c: fix super in bound UnboundMethod
* proc.c (rb_method_call_with_block, umethod_bind): call with
IClass including the module for a module instance method.
[ruby-core:61936] [Bug #9721]
* vm_insnhelper.c (vm_search_super_method): allow bound
UnboundMethod case.
git-...
nobu (Nobuyoshi Nakada)
05:40 AM Revision 2329a1a8 (git): vm_insnhelper.c: preserve encodings
* vm_insnhelper.c (vm_search_super_method): preserve encodings of
classes in message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:53 AM Bug #9594: Segfault in 2.1.1 follows cont from debugger (Rails 4.0.3, debugger 1.6.6, rspec, os x mavericks 1.9.2)
On debugger gem repository:
* https://github.com/cldwalker/debugger/issues/114 - Same segfault
* https://github.com/cldwalker/debugger/issues/47 - Ruby 2.0.0 is not officially supported by debugger gem
* https://github.com/cldwalker/...
abinoam (Abinoam P. Marques Jr.)
04:48 AM Revision c7ad29f5 (git): * addr2line.c (rb_dump_backtrace_with_lines): set base address
which is retrived from dladdr to dladdr_fbases, to skip already
parsed objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:45 AM Bug #9727 (Closed): Array#reject aborts with callcc
Applied in changeset r45562.
----------
array.c: maybe shared array
* array.c (ary_reject): may be turned into a shared array during
the given block. [ruby-dev:48101] [Bug #9727]
nobu (Nobuyoshi Nakada)
03:39 AM Bug #9727 (Closed): Array#reject aborts with callcc
2.0.0以降で、以下のコードが異常終了します。
~~~ruby
require 'continuation'
cont = nil
a = [*1..10].reject do |i|
callcc{|c| cont = c} if !cont and i == 10
false
end
a.unshift(:x)
cont.call if a.size < 1000
~~~
nobu (Nobuyoshi Nakada)
03:44 AM Revision 153fa256 (git): array.c: maybe shared array
* array.c (ary_reject): may be turned into a shared array during
the given block. [ruby-dev:48101] [Bug #9727]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:05 AM Bug #9722 (Closed): Failure with multiple keyword arguments
nobu (Nobuyoshi Nakada)
01:49 AM Revision 48d5eb3d (git): test_array.rb: do minor GC
* test/ruby/test_array.rb (test_shared_marking): do minor GC to
reduce WB-missed messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:31 AM Revision 4b86cf6e (git): gc.c: no newline to rb_bug
* gc.c: no newline in messages for rb_bug, it outputs a newline
after the message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:31 AM Revision 566761ff (git): * 2014-04-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:31 AM Revision 5a717d95 (git): test_array.rb: simplify test_shared_marking
* test/ruby/test_array.rb (test_shared_marking): simplify with
timeout option and no random, also reduce same messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:31 AM Revision 147365f4 (git): envutil.rb: filter kwargs
* test/ruby/envutil.rb (EnvUtil#invoke_ruby): add stdout_filter
and stderr_filter optional keyword arguments, which filter
stdout and stderr outputs respectively.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45557 b2dd03c8-39d4...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom