Project

General

Profile

Activity

From 07/10/2016 to 07/16/2016

07/15/2016

08:12 PM Feature #12025: Reduce minimum string buffer size from 128 to 127
[email protected] wrote:
> In r55692, integer overflow is fixed, and termlen is used.

Good catch, thank you
normalperson (Eric Wong)
01:11 PM Feature #12025: Reduce minimum string buffer size from 128 to 127
In r55692, integer overflow is fixed, and termlen is used. ngoto (Naohisa Goto)
12:54 PM Feature #12025: Reduce minimum string buffer size from 128 to 127
Agree. nobu (Nobuyoshi Nakada)
11:17 AM Feature #12025: Reduce minimum string buffer size from 128 to 127
Due to the "+ 1" in string.c:2593 inserted in r55686, integer overflow may occur if `capa == LONG_MAX / 2`.
```
...
ngoto (Naohisa Goto)
08:02 PM Bug #12588 (Rejected): When an exception is re-raised in the "rescue" clause, the back trace does not contain the line in that clause
Given:
~~~
$ cat -n foo.rb
1 def foo
2 raise StandardError
3 rescue StandardError => e
...
hasari (Hiro Asari)
06:49 PM Feature #11813: Extend safe navigation operator for [] and []= with syntax sugar
It seems to me that a "safe subscript operator" should simply add a `&` between the receiver and the subscript operat... Anonymous
11:04 AM Bug #12587 (Rejected): ruby released tarball require ruby
I downloaded ruby-2.3.1.tar.bz2 into my brand new bash on windows.
I prepared gcc, autoconf etc but ruby itself beca...
arton (Akio Tajima)
04:40 AM Bug #12564: Sometimes test_settracefunc.rb segfaults in exec_hooks_body (vm_trace.c)
r55687 ruby 2.4.0dev (2016-07-15) [x86_64-linux] (centos5-64) 336W [BUG] 3[SEGV] failed(test-all)
http://rubyci.s3...
ngoto (Naohisa Goto)

07/14/2016

11:41 PM Feature #12025: Reduce minimum string buffer size from 128 to 127
[email protected] wrote:
> It's been over 5 months since this issue was created. Since it looks
> lik...
normalperson (Eric Wong)
11:30 PM Feature #12025 (Closed): Reduce minimum string buffer size from 128 to 127
Applied in changeset r55686.
----------
string.c: reduce malloc overhead for default buffer size
* string.c (STR_BU...
Anonymous
08:45 PM Feature #12025: Reduce minimum string buffer size from 128 to 127
It's been over 5 months since this issue was created. Since it looks like both Eric and Yui agree that this won't ca... jeremyevans0 (Jeremy Evans)
07:58 AM Feature #12586 (Open): Hash#sample
Hello.
class Array has .sample method.
I tried to use .sample on a hash, just to return a random element (I nee...
shevegen (Robert A. Heiler)
05:28 AM Bug #12584 (Rejected): Regexp using repetition with alternation doesn't match greedily
それはそういうものです。知りうる限りでは perl php python node でもそのように動きますので。これの動きを変えるのは弊害のほうが大きいです。
```
% perl -e '"---ed---" =~ /(?:...
shyouhei (Shyouhei Urabe)

07/13/2016

08:05 PM Bug #12585 (Third Party's Issue): FileUtils.move leads to rb_file_s_rename Errno::EACCES: Permission denied on Windows
Windows disallows removing open file unless it is opened with `FILE_SHARE_DELETE` flag.
Close `file` before `FileUti...
nobu (Nobuyoshi Nakada)
04:34 PM Bug #12585 (Third Party's Issue): FileUtils.move leads to rb_file_s_rename Errno::EACCES: Permission denied on Windows
In Windows 10, running as administrator:
~~~
λ C:\tools\ruby\23-x64\bin\irb.cmd
irb(main):001:0> require 'fileut...
tobymurray-nanometrics (Toby Murray)
03:24 PM Bug #12584 (Rejected): Regexp using repetition with alternation doesn't match greedily
正規表現で選択子 `|` の外側で最大量指定子 `*` による繰り返しを行った場合、最大でない部分文字列にマッチしてしまうことがあるようです。
以下に再現例を示します。
ある文字列から、「区切り文字`d` 以外の文字`/[^d...
nunukim (亮太 鈴木)
11:04 AM Feature #12142: Hash tables with open addressing
Good day, everyone.
I've updated my version of st.c and hashing patch.
Main difference in st implementation from ...
funny_falcon (Yura Sokolov)
09:58 AM Bug #10933: [BUG] object allocation during garbage collection phase
Hi, just wondering that since this patch appears to fix this issue, is there a chance that somebody would provide mor... vo.x (Vit Ondruch)
07:29 AM Bug #12545: Ruby 2.3.1 compilation error [Windows]
Ivan Serdyuk wrote:
> I just finished compilation attempts for VS 2008, VS 2010. win32.c compiled for all 2.x versio...
duerst (Martin Dürst)
07:11 AM Bug #9525: Stuck with Socket.pack_sockaddr_in

Related issue: https://bugs.ruby-lang.org/issues/9536
This problem is a big issue for Fluentd.
We hope to bac...
mariakatosvich (maria katosvich)
07:08 AM Bug #12583 (Closed): Class#instance_methods dumps core
Applied in changeset r55663.
----------
* gc.c (gc_mark_roots): should mark the VM object itself to mark
singleton...
ko1 (Koichi Sasada)
05:33 AM Bug #12583 (Closed): Class#instance_methods dumps core
次のようにすると core を吐きます。
```
% cat tmp.rb
ObjectSpace.each_object{|o|o.singleton_class rescue 0}
ObjectSpace.each_o...
shyouhei (Shyouhei Urabe)

07/12/2016

12:10 PM Bug #12535: are there 2 sleep methods defined?
I've just tried that, it's not delivering the expected result. Try this out:
~~~ruby
module AlternativeSleep ...
chucke (Tiago Cardoso)

07/11/2016

04:03 PM Bug #12582: OpenSSL Authenticated Encryption should check for tag length
Ok let's continue the discussion on Github: https://github.com/ruby/openssl/issues/63
Kazuki Yamaguchi wrote:
> T...
patrick.oscity (Patrick Oscity)
02:21 PM Bug #12582: OpenSSL Authenticated Encryption should check for tag length
The development of ext/openssl has moved to GitHub recently. If you have a GitHub account, could you make an issue th... rhenium (Kazuki Yamaguchi)
07:35 AM Bug #12582 (Assigned): OpenSSL Authenticated Encryption should check for tag length
The current API for using ciphers with Authenticated Encryption (currently only AES-GCM) is rather misleading and qui... patrick.oscity (Patrick Oscity)
03:51 PM Feature #12578: Instance Variables Assigned In parameters ( ala Crystal? )
Matthew Kerwin wrote:
> Here is some history of this proposal:
>
> * [#5825 Sweet instance var assignment in the ...
lankford (Matt Lankford)
03:18 PM Bug #12563: backport 49758,50356
ruby_2_2 r55637 merged revision(s) 49758,50356,50359. usa (Usaku NAKAMURA)
02:38 PM Bug #12560: backport r55602
ruby_2_2 r55636 merged revision(s) 55602. usa (Usaku NAKAMURA)
02:22 PM Bug #12560: backport r55602
ruby_2_3 r55635 merged revision(s) 55602. nagachika (Tomoyuki Chikanaga)
01:59 PM Bug #12391: backport r55063
ruby_2_3 r55633 merged revision(s) 54168. nagachika (Tomoyuki Chikanaga)
08:50 AM Bug #12549: List files with CC0 license in LEGAL file
> And missing/strerror.c.
>
> You can use find -exec {} + and grep -l, or grep -r --include.
Yes, its file is i...
jaruga (Jun Aruga)
08:40 AM Misc #12529: LEGAL file covering all the license information within Ruby
> Shouldn't add UCD license section?
Sorry I am not sure your meaning "UCD license section". Could you tell me mor...
jaruga (Jun Aruga)
07:25 AM Misc #12529: LEGAL file covering all the license information within Ruby
Shouldn't add UCD license section? nobu (Nobuyoshi Nakada)
07:18 AM Bug #12552 (Feedback): You may have encountered a bug in the Ruby interpreter or extension libraries.
Try 2.3.1, and please post the whole log. nobu (Nobuyoshi Nakada)
01:28 AM Bug #12576: SEGV when interrupting tail recursion
Shugo Maeda wrote:
> The following patch seems to fix the problem, but I'm not sure.
> Could you check it, ko1?
> ...
shugo (Shugo Maeda)
12:41 AM Feature #12581 (Closed): Incorporate ActiveSupport extensions (or their equivalents) into the stdlib
Agreed with @shyouhei.
Matz.
matz (Yukihiro Matsumoto)
12:25 AM Feature #12581: Incorporate ActiveSupport extensions (or their equivalents) into the stdlib
While some ActiveSupport extensions are useful, I doubt if _all_ of them are.
I would like to -1 this. Please let...
shyouhei (Shyouhei Urabe)

07/10/2016

11:53 PM Bug #12580 (Feedback): Difference in sprintf float rounding
Resulting 5.6 by rounding 5.55 off to one decimal place looks more "natural", than 5.5.
New behavior considers binar...
nobu (Nobuyoshi Nakada)
10:09 PM Bug #12580 (Closed): Difference in sprintf float rounding
on 2.4-dev
`
irb(main):006:0> sprintf "%0.01f", 5.55
=> "5.6"
irb(main):007:0> 5.55.class
=> Float
`
on 2....
vipulnsward (Vipul Amler)
11:05 PM Feature #12581 (Closed): Incorporate ActiveSupport extensions (or their equivalents) into the stdlib
Hey,
The ruby developers are so used to ActiveSupport extensions used by Rails, its even hard for them to tell wha...
sheerun (Adam Stankiewicz)
10:27 PM Feature #12578: Instance Variables Assigned In parameters ( ala Crystal? )
I like the idea behind it.
I am not sure about the syntax itself. Would this break existing code? What are the con...
shevegen (Robert A. Heiler)
09:26 AM Feature #12578: Instance Variables Assigned In parameters ( ala Crystal? )
Here is some history of this proposal:
* [#5825 Sweet instance var assignment in the object initializer](https://b...
phluid61 (Matthew Kerwin)
07:33 AM Feature #12578: Instance Variables Assigned In parameters ( ala Crystal? )
I personally think this syntax looks quite good. I wonder whether it should be limited to initialize or not.
Matt ...
duerst (Martin Dürst)
10:24 PM Bug #12552: You may have encountered a bug in the Ruby interpreter or extension libraries.
How did you cause the segfault? shevegen (Robert A. Heiler)
04:04 PM Bug #12545: Ruby 2.3.1 compilation error [Windows]
I just finished compilation attempts for VS 2008, VS 2010. win32.c compiled for all 2.x versions.
Looks like I hav...
local.tourist.kiev (Ivan Serdyuk)
12:49 AM Bug #12576 (Assigned): SEGV when interrupting tail recursion
SEGV occurs as follows:
1. eval pushes a control frame.
2. foo is called repeatedly without a new control frame.
...
shugo (Shugo Maeda)
 

Also available in: Atom