Project

General

Profile

Activity

From 12/22/2016 to 12/28/2016

12/28/2016

09:00 PM Bug #13043: Exception#cause can become recursive/infinite
ruby_2_2 r57229 merged revision(s) 57137. usa (Usaku NAKAMURA)
09:00 PM Revision d785c36b (git): merge revision(s) 57137: [Backport #13043]
eval.c: fix circular cause
* eval.c (exc_setup_cause): always set cause of cause to get rid
of circular re...
U.Nakamura
07:54 PM Feature #13067: TrueClass,FalseClass to provide `===` to match truthy/falsy values.
1. This would break a lot of code. As an example, I found 13 instances of `when true/false` in Rails' code that would... marcandre (Marc-Andre Lafortune)
04:05 AM Feature #13067: TrueClass,FalseClass to provide `===` to match truthy/falsy values.
Nobu, I think the benefit outpass the drawbacks.
Regarding your patch, I think `===` should be its own RDoc entrie...
matz (Yukihiro Matsumoto)
06:34 PM Feature #13083 (Closed): Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
Just for consistency
* patch: https://github.com/ruby/ruby/pull/1506
* spec: https://github.com/ruby/spec/pull/38...
kachick (Kenichi Kamiya)
12:42 PM Bug #13082 (Rejected): Regex match from position behavior with start of line/string special character
Hello,
Apologies in advance if this question was addressed already, I could not find any information on it.
Reg...
akanet (Vincent Woo)
05:12 AM Bug #13081: resolv.rb may be the cause of the rubygems bug on Windows
s/repository/registry/ nobu (Nobuyoshi Nakada)
02:29 AM Bug #13081: resolv.rb may be the cause of the rubygems bug on Windows
Seems the registry is broken. nobu (Nobuyoshi Nakada)
12:34 AM Bug #13081 (Closed): resolv.rb may be the cause of the rubygems bug on Windows
See https://github.com/rubygems/rubygems/issues/1700 kozo2 (Kozo Nishida)
04:41 AM Bug #13078 (Closed): with Integer a and b, a.fdiv(b) sometimes inaccurate than Rational(a, b).to_f
Applied in changeset r57227.
----------
numeric.c: reduce fdiv
* numeric.c (rb_int_fdiv_double): reduce first for m...
nobu (Nobuyoshi Nakada)
03:11 AM Bug #13078: with Integer a and b, a.fdiv(b) sometimes inaccurate than Rational(a, b).to_f
I thought the reduction would be slower, but actually not significant.
```
$ ruby -rbenchmark -e 'a = 3; b = -0x2...
nobu (Nobuyoshi Nakada)
03:00 AM Bug #13078: with Integer a and b, a.fdiv(b) sometimes inaccurate than Rational(a, b).to_f
The accuracy of `Rational(a, b).to_f` seems to be due to reduction of fraction.
How about using `Rational` object, o...
wanabe (_ wanabe)
04:40 AM Revision b1c68cfa (git): * 2016-12-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:40 AM Revision 1778ed59 (git): numeric.c: reduce fdiv
* numeric.c (rb_int_fdiv_double): reduce first for more precise
result. [ruby-core:78886] [Bug #13078]
git-svn-id...
nobu (Nobuyoshi Nakada)
04:12 AM Bug #13080: [mingw regression] broken openssl extension in 2.4.0p0
The bad news is that my custom openssl 1.0.2j library and the ones built by the rubyinstaller project (32 and 64bit) ... jonforums (Jon Forums)
02:30 AM Bug #13080: [mingw regression] broken openssl extension in 2.4.0p0
Ok. I'll play with my openssl build script https://github.com/jonforums/buildlets/blob/master/build_openssl.ps1#L62 t... jonforums (Jon Forums)
02:10 AM Bug #13080: [mingw regression] broken openssl extension in 2.4.0p0
From https://bugs.ruby-lang.org/attachments/6316/bad_mkmf_2.4.log#L229, your ssl library has references to GDI32.dll.... nobu (Nobuyoshi Nakada)
03:03 AM Feature #13077: [PATCH] introduce String#fstring method
[email protected] wrote:
> Why not `String#-@`?
As in the following? (short patch, full below)
~~~diff
--- ...
normalperson (Eric Wong)
12:08 AM Feature #13077: [PATCH] introduce String#fstring method
Why not `String#-@`? nobu (Nobuyoshi Nakada)

12/27/2016

11:41 PM Feature #13077: [PATCH] introduce String#fstring method
[email protected] wrote:
> So this is essentially like Java's String.intern()?
>
> There is already String#inte...
normalperson (Eric Wong)
10:15 PM Feature #13077: [PATCH] introduce String#fstring method
So this is essentially like Java's String.intern()?
There is already String#intern in Ruby but it returns a Symbol...
Eregon (Benoit Daloze)
06:41 PM Feature #13077: [PATCH] introduce String#fstring method
[email protected] wrote:
> The only comment I have is that the name .fstring() is a bit strange. On first read, I ...
normalperson (Eric Wong)
03:54 PM Feature #13077: [PATCH] introduce String#fstring method
I have no particular pro or con opinion on the proposal in itself so feel free to ignore this.
The only comment I ...
shevegen (Robert A. Heiler)
01:50 AM Feature #13077 (Closed): [PATCH] introduce String#fstring method
introduce String#fstring method
This exposes the rb_fstring internal function to return a
deduped and frozen stri...
normalperson (Eric Wong)
07:50 PM Bug #13080 (Closed): [mingw regression] broken openssl extension in 2.4.0p0
When building using slightly modified rubyinstaller build recipes and a msys2/mingw64-6.2.0 (32bit) toolchain, the bu... jonforums (Jon Forums)
04:18 PM Bug #12970: == Equality of recursive sets fails
Piotr Szmielew wrote:
> In this particular example even manually rehashing internal hash doesn't quite work...
Ri...
marcandre (Marc-Andre Lafortune)
08:34 AM Bug #12970: == Equality of recursive sets fails
In this particular example even manually rehashing internal hash doesn't quite work...
~~~ ruby
s = Set.new
t = ...
Esse (Piotr Szmielew)
01:49 AM Bug #12970: == Equality of recursive sets fails
That's not going to cut it... There are many other counter examples....
```
s = Set.new
t = Set.new
s << [s]
t...
marcandre (Marc-Andre Lafortune)
03:55 PM Feature #13067: TrueClass,FalseClass to provide `===` to match truthy/falsy values.
\o/ shevegen (Robert A. Heiler)
03:01 PM Bug #13043: Exception#cause can become recursive/infinite
... but reverted in `ruby_2_2` because it causes SEGV. usa (Usaku NAKAMURA)
11:39 AM Bug #13043: Exception#cause can become recursive/infinite
ruby_2_2 r57222 merged revision(s) 57137. usa (Usaku NAKAMURA)
02:59 PM Revision 543a8b5e (git): revert r57222 because of SEGV
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@57226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
11:44 AM Bug #13066: 2.4.0-rc1, VC14, Segmentation fault on RSS::TestRSS10Core#test_to_xml
ruby_2_2 r57225 merged revision(s) 57172. usa (Usaku NAKAMURA)
11:44 AM Revision 7015fcf9 (git): merge revision(s) 57172: [Backport #13066]
time.c: fix type of usec2subsecx
* time.c (usec2subsecx): fix return type, which is a numeric
object but n...
U.Nakamura
11:43 AM Bug #13076 (Closed): SEGV in io.c when reading closed stream in Thread
Applied in changeset r57224.
----------
io.c: fix race between read and close
* io.c (io_fillbuf): fix race between...
nobu (Nobuyoshi Nakada)
09:09 AM Bug #13076 (Assigned): SEGV in io.c when reading closed stream in Thread
After r57199, `IO#getch` (in `io/console`) was broken, at least on Windows.
It required two key types to get the res...
usa (Usaku NAKAMURA)
11:43 AM Revision 09ae127b (git): io.c: fix race between read and close
* io.c (io_fillbuf): fix race between read and close and bail out
in the case the IO gets closed before the reading...
nobu (Nobuyoshi Nakada)
11:43 AM Bug #12910: TestFileUtils#test_chown_R_force might get stuck when process has no supplementary groups
ruby_2_2 r57223 merged revision(s) 56884,56892. usa (Usaku NAKAMURA)
11:43 AM Revision 244096b9 (git): merge revision(s) 56884,56892: [Backport #12910]
test_fileutils.rb: Use primary group too
* test/fileutils/test_fileutils.rb (TestFileUtils#setup): Use
pri...
U.Nakamura
11:39 AM Revision 9d693b18 (git): merge revision(s) 57137: [Backport #13043]
eval.c: fix circular cause
* eval.c (exc_setup_cause): always set cause of cause to get rid
of circular re...
U.Nakamura
11:36 AM Bug #12071 (Feedback): Gem installation fails with 2.3.0 on Cygwin
Is this problem really present in ruby 2.2 ?
I've never backported `default_exclude_exts` feature.
usa (Usaku NAKAMURA)
11:14 AM Bug #13054: MatchData segfaults if RMatch::regexp is nil
ruby_2_2 r57221 merged revision(s) 57123. usa (Usaku NAKAMURA)
11:14 AM Revision f82b0a39 (git): merge revision(s) 57123: [Backport #13054]
re.c: consider the case of RMatch::regexp is nil
Follow r49675, r57098 and r57110. Don't assume RMatch::rege...
U.Nakamura
11:03 AM Bug #13052: Array#combination segfaults if the Array is modified during iteration
ruby_2_2 r57220 merged revision(s) 57119. usa (Usaku NAKAMURA)
11:03 AM Revision 33b36456 (git): merge revision(s) 57119: [Backport #13052]
array.c: check array length every time after yielding
Since the Array may be modified during rb_yield(), the...
U.Nakamura
10:58 AM Bug #13049: Backport r57108 (sprintf.c: fix width underflow)
ruby_2_2 r57219 merged revision(s) 57108. usa (Usaku NAKAMURA)
10:58 AM Revision 1bd82de9 (git): merge revision(s) 57108: [Backport #13049]
sprintf.c: fix width underflow
* sprintf.c (rb_str_format): fix memory corruption by width
underflow. htt...
U.Nakamura
10:55 AM Bug #13042: gsub segfaults when the pattern is a matching string and the replacement has an unmatched named capture
ruby_2_2 r57218 merged revision(s) 57098. usa (Usaku NAKAMURA)
10:55 AM Revision ea83d7fd (git): merge revision(s) 57098: [Backport #13042]
re.c: non-regexp name reference
* re.c (rb_reg_regsub): other than regexp has no name references.
[ruby-co...
U.Nakamura
10:52 AM Bug #13034: rb_enc_ascget() does not handle 'needmore' error from rb_enc_procise_mbclen()
ruby_2_2 r57217 merged revision(s) 57078. usa (Usaku NAKAMURA)
10:52 AM Revision 74556505 (git): merge revision(s) 57078: [Backport #13034]
encoding.c: handle needmore error from rb_enc_precise_mbclen()
rb_enc_ascget() erroneously reports success e...
U.Nakamura
10:49 AM Bug #13014: Adding clang volatile fixes from FreeBSD and NetBSD
ruby_2_2 r57216 merged revision(s) 57020,57021. usa (Usaku NAKAMURA)
10:49 AM Revision 04d79490 (git): merge revision(s) 57020,57021: [Backport #13014]
Add clang volatile fixes from FreeBSD and NetBSD.
Use volatile instead of optnone to avoid optimization whic...
U.Nakamura
10:41 AM Bug #13004: rb_get_kwargs はバグってないでしょうか?
ruby_2_2 r57215 merged revision(s) 56980,56981. usa (Usaku NAKAMURA)
10:41 AM Revision ed8c211a (git): merge revision(s) 56980,56981: [Backport #13004]
extension.rdoc: fix rb_get_kwargs [ci skip]
* doc/extension.rdoc: [DOC] optional keyword arguments are
def...
U.Nakamura
10:35 AM Bug #12988: Calling `inspect` sometimes causes a segv
ruby_2_2 r57214 merged revision(s) 56938. usa (Usaku NAKAMURA)
10:35 AM Revision 3aed194a (git): merge revision(s) 56938: [Backport #12988]
Stop reading past the end of `ivptr` array
If you have code like this:
```ruby
class A
de...
U.Nakamura
10:32 AM Bug #12991: Documentation of Thread.abort_on_exception is wrong: it raises error again in main thread
ruby_2_2 r57213 merged revision(s) 56928. usa (Usaku NAKAMURA)
10:32 AM Revision 244885b6 (git): merge revision(s) 56928: [Backport #12991]
thread.c: fix doc of abort_on_exception [ci skip]
* thread.c (rb_thread_s_abort_exc, rb_thread_s_abort_exc_s...
U.Nakamura
10:30 AM Bug #12983: compatibility_version and current_version on Darwin are reversed
ruby_2_2 r57212 merged revision(s) 56905. usa (Usaku NAKAMURA)
10:30 AM Revision e44b8733 (git): merge revision(s) 56905: [Backport #12983]
Reverse compatibility_version and current_version for Darwin
The `compatibility_version` should have an API ...
U.Nakamura
10:11 AM Bug #12974: Marshal.dump dumps core.
ruby_2_2 r57211 merged revision(s) 56894. usa (Usaku NAKAMURA)
10:11 AM Revision 88c68a89 (git): merge revision(s) 56894: [Backport #12974]
marshal.c: fix infinite recursion
* marshal.c (check_userdump_arg): marshal_dump should not return
an inst...
U.Nakamura
09:55 AM Bug #13079 (Closed): linked list corruption (probable race condition)
Hi, I am developing a binding for an external library and I encountered a problem with the ruby interpreter.
The l...
fabianfrz (Fabian Franz)
09:34 AM Bug #12860: Splatting an argument does not obey left-to-right execution order
ruby_2_2 r57210 merged revision(s) 56469. usa (Usaku NAKAMURA)
09:34 AM Revision a078bbcc (git): merge revision(s) 56469: [Backport #12860]
* compile.c (setup_args): duplicate splatting array if more
arguments present to obey left-to-right executi...
U.Nakamura
09:32 AM Revision 16d03ff2 (git): * ChangeLog: for r57207 and r57208.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@57209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
09:28 AM Bug #12956: require a native library that yields the error 'incompatiable library version' shuts down the interpreter fatally
ruby_2_2 r57208 merged revision(s) 56832. usa (Usaku NAKAMURA)
09:28 AM Revision 2706ffc7 (git): merge revision(s) 56832: [Backport #12956]
dln.c: raise LoadError
* dln.c (dln_load): raise LoadError instead of fatal error on
recent OSX, dlclose s...
U.Nakamura
09:17 AM Bug #12785: misc/test_ruby_mode.rb failed with emacs 25.1.1
ruby_2_2 r57207 merged revision(s) 56224. usa (Usaku NAKAMURA)
09:17 AM Revision 0dddf3cb (git): merge revision(s) 56224: [Backport #12785]
* test/misc/test_ruby_mode.rb (assert_indent): since write-region
in Emacs 25.1 no longer displays the "Wro...
U.Nakamura
09:07 AM Revision f2502cec (git): revert a part of r57199
* io.c (io_fillbuf): revert a part of r57199 because it broke IO#getch.
see also [Bug #13076]
git-svn-id: svn+ssh...
U.Nakamura
08:52 AM Revision 97e18cd8 (git): cont.c: change fiber stack size doc [ci skip]
It's many years since we had tiny 4KB fiber stacks :<
point to the manpage instead for current, larger sizes.
git-sv...
Eric Wong
07:39 AM Revision a757aa14 (git): io.c: use io_close to close ARGF
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:18 AM Revision 2fbc63b8 (git): io.c: ARGF fd leak
* io.c (argf_next_argv): fix leak of fd after breaking in #each
method.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
07:10 AM Revision bc855ef1 (git): thread.c: fix race between read and close
* thread.c (rb_thread_fd_close): wait until all threads using the
fd finish the operation, not to free the buffer i...
nobu (Nobuyoshi Nakada)
06:36 AM Bug #13078 (Closed): with Integer a and b, a.fdiv(b) sometimes inaccurate than Rational(a, b).to_f
For example,
~~~
a = 3
b = 0x20_0000_0000_0001
p a.fdiv(b)
p Rational(a, b).to_f
#=>
3.3306690738754696e-1...
metanest (Makoto Kishimoto)
02:03 AM Bug #13064: Inconsistent behavior with `next` inside `begin`/`end` across different implementations.
It's 4, I guess. nobu (Nobuyoshi Nakada)
12:51 AM Bug #13064: Inconsistent behavior with `next` inside `begin`/`end` across different implementations.
Yukihiro Matsumoto wrote:
> It's a REPL implementation dependent (irb uses eval() inside). Try comparing them using ...
jwmittag (Jörg W Mittag)
01:52 AM Feature #10641 (Closed): Introduce Fixnum#finite? and Bignum#finite?
Shyouhei Urabe wrote:
> Yes it is. Closing.
Second try.
duerst (Martin Dürst)
12:17 AM Feature #10641: Introduce Fixnum#finite? and Bignum#finite?
Yes it is. Closing. shyouhei (Shyouhei Urabe)
01:40 AM Revision 20659e00 (git): * 2016-12-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:40 AM Revision b7d1a68f (git): Ignored extracted gem files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)

12/26/2016

10:33 PM Feature #10641: Introduce Fixnum#finite? and Bignum#finite?
It looks, feature request can be closed (implemented in #12039) prijutme4ty (Ilya Vorontsov)
09:49 PM Misc #13057: BasicObject#__send__ documentation contains references to #send
I see; but **`BasicObject`** doesn't have **`#send`** method and thus shouldn't reference it in docs, should it? hedgesky (Anton Chuchkalov)
02:14 PM Bug #13076 (Closed): SEGV in io.c when reading closed stream in Thread
Applied in changeset r57199.
----------
io.c: fix race between read and close
* io.c (io_fillbuf): fix race between...
nobu (Nobuyoshi Nakada)
01:23 PM Bug #13076 (Closed): SEGV in io.c when reading closed stream in Thread
System: CentOS Linux release 7.3.1611 (Core)
Kernel: 3.10.0-514.2.2.el7.x86_64
GCC: gcc version 4.8.5 20150623 (Re...
masa16 (Masahiro Tanaka)
02:14 PM Revision 08ca33e9 (git): io.c: fix race between read and close
* io.c (io_fillbuf): fix race between read and close, in the case
the IO gets closed before the reading thread achi...
nobu (Nobuyoshi Nakada)
01:31 PM Bug #13073 (Closed): Hash Key => Proc parse failure
Applied in changeset r57198.
----------
parse.y: preserve cmdarg stack
* parse.y (do_body): preserve cmdarg stack a...
nobu (Nobuyoshi Nakada)
03:39 AM Bug #13073: Hash Key => Proc parse failure
A Hash that stores multiple Proc literals causes syntax failures when passed as a method argument. Specifically, this... myrrlyn (Alexander Payne)
03:36 AM Bug #13073 (Closed): Hash Key => Proc parse failure
A Hash that stores multiple Proc literals causes syntax failures when passed as a method argument. Specifically, this... myrrlyn (Alexander Payne)
01:31 PM Revision b4aa884f (git): parse.y: preserve cmdarg stack
* parse.y (do_body): preserve cmdarg stack around do/end block.
[ruby-core:78837] [Bug #13073]
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
12:00 PM Revision a5c39102 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:00 PM Revision ce35f428 (git): Add NEWS for Ruby 2.5.0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:00 PM Revision 94876280 (git): Move from NEWS to doc/NEWS-2.4.0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:00 AM Bug #13074 (Closed): When executing instance_exec with symbol.to_proc, it ignores first argument.
Applied in changeset r57194.
----------
vm_eval.c: Symbol#to_proc and instance_exec
* vm_eval.c (yield_under): shou...
nobu (Nobuyoshi Nakada)
04:59 AM Bug #13074 (Closed): When executing instance_exec with symbol.to_proc, it ignores first argument.
Is this intentional?
```
# Ruby 2.3.3
« instance_exec(1) { |i| i.itself }
=> 1
« instance_exec(1, &:itself)
=...
alpaca-tc (Hiroyuki Ishii)
10:00 AM Revision af2670f1 (git): vm_eval.c: Symbol#to_proc and instance_exec
* vm_eval.c (yield_under): should evaluate the proc on the first
argument. [ruby-core:78839] [Bug #13074]
git-svn...
nobu (Nobuyoshi Nakada)
10:00 AM Revision bb7b5a06 (git): test/ruby/test_symbol.rb: use begin;end; hack
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:00 AM Bug #13069: mkmf: ignore linker warnings on OpenBSD
Nobuyoshi Nakada wrote:
> Seems `sprintf` nor `vsprintf` are used on OpenBSD.
> Those warnings are always emitted r...
Anonymous
02:56 AM Bug #13069 (Feedback): mkmf: ignore linker warnings on OpenBSD
Seems `sprintf` nor `vsprintf` are used on OpenBSD.
Those warnings are always emitted regardless use of the functions?
nobu (Nobuyoshi Nakada)
09:32 AM Bug #12705 (Closed): yielding args to a lambda uses block/proc rather than lambda/method semantics
Applied in changeset r57192.
----------
[Bug #12705]
nobu (Nobuyoshi Nakada)
09:32 AM Revision 88d667ee (git): [Bug #12705]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:28 AM Revision 08cf4cec (git): get rid of sprintf
* missing/strerror.c (strerror): use snprintf instead of sprintf.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
09:28 AM Revision 6d8574ad (git): get rid of strcat
* regerror.c (onig_vsnprintf_with_pattern): use memcpy with the
known length instead of strcat.
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
09:28 AM Revision 79c50a77 (git): get rid of strcpy
* addr2line.c (follow_debuglink): insert global_debug_dir by using
memmove instead of copying to temporary buffer.
...
nobu (Nobuyoshi Nakada)
09:18 AM Bug #12997 (Assigned): Out-of-bounds read in regcomp.c
naruse (Yui NARUSE)
08:01 AM Revision d0035dbd (git): Makefile.sub: refine configuration check
* win32/Makefile.sub (config.status): check configured target by
reading from config.status, and remove version dep...
nobu (Nobuyoshi Nakada)
06:32 AM Bug #13075 (Closed): String#unpack with block / String#unpack1 exposes uninitialized memory
Applied in changeset r57187.
----------
pack.c: avoid returning uninitialized String
Fix unpacking with 'b', 'B', '...
Anonymous
06:08 AM Bug #13075 (Closed): String#unpack with block / String#unpack1 exposes uninitialized memory
A problematic code looks like (in pack.c, pack_unpack_internal()):
~~~c
case 'b':
{
...
rhenium (Kazuki Yamaguchi)
06:32 AM Revision b65b4186 (git): pack.c: avoid returning uninitialized String
Fix unpacking with 'b', 'B', 'h' and 'H' format. Do not return an
uninitialized String to Ruby before filling the con...
rhenium (Kazuki Yamaguchi)
05:07 AM Revision 256d8c9e (git): Makefile.sub: fix dependency of RUBYDEF
* win32/Makefile.sub (RUBYDEF): fix dependency, win32/mkexports.rb
requires rbconfig.rb.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
12:26 AM Bug #13071: bug in the Ruby interpreter or extension libraries
From the backtrace you are failing to load mysql.so. I bet you mixed runtime library or something. shyouhei (Shyouhei Urabe)

12/25/2016

11:56 PM Revision 10bd48e4 (git): string.c: CRLF in paragraph mode
* string.c (rb_str_enumerate_lines): allow CRLF to separate
paragraphs.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
11:50 PM Revision 091f99b4 (git): string.c: consistent paragraph mode with IO
* string.c (rb_str_enumerate_lines): in paragraph mode, do not
include newlines which separate paragraphs, so that ...
nobu (Nobuyoshi Nakada)
05:58 PM Bug #13069: mkmf: ignore linker warnings on OpenBSD
Personally, I think it would be better to just check the return code and ignore the content of the log file. Are the... jeremyevans0 (Jeremy Evans)
09:06 AM Bug #13069 (Closed): mkmf: ignore linker warnings on OpenBSD
Installing gems with native extensions fails on my OpenBSD machine since
the linker emits warnings causing stderr to...
Anonymous
04:53 PM Revision 110bfb71 (git): include/ruby/version.h: Update API version.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matz (Yukihiro Matsumoto)
04:35 PM Revision 43eb6626 (git): * 2016-12-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:35 PM Revision 1a47fcad (git): version.h (RUBY_VERSION): 2.5.0 development has started.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matz (Yukihiro Matsumoto)
02:32 PM Revision 9e1a9858 (git): memory_status.c: support old Mac OS
* ext/-test-/memory_status/memory_status.c (read_status): use
TASK_BASIC_INFO instead of MACH_TASK_BASIC_INFO on ol...
nobu (Nobuyoshi Nakada)
01:04 PM Misc #13072 (Closed): Current state of date standard library
The facts that I've been able to gather (not supported by links, so please forgive me if I am misquoting/misunderstan... zverok (Victor Shepelev)
12:37 PM Bug #13068 (Closed): VC6 compilation failures
naruse (Yui NARUSE)
12:52 AM Bug #13068 (Closed): VC6 compilation failures
2.4.0 fails to compile on VC6.
Please backport r57173..r57175.
nobu (Nobuyoshi Nakada)
12:17 PM Bug #13071 (Closed): bug in the Ruby interpreter or extension libraries

c:\Users\Burkan Beyli\.AAA Projects\Beyven\BEYRUBY\beypilot\kobiks>bundle exec rake db:migrate > rubybug
c:/row/...
burkanbeyli (Burkan Beyli)
11:59 AM Bug #13070 (Third Party's Issue): Parsing JSON with `quirks_mode: false` parses as if it is `true` and does not warn me.
Can you request it to [upstream repository](https://github.com/flori/json) ? hsbt (Hiroshi SHIBATA)
11:31 AM Bug #13070 (Third Party's Issue): Parsing JSON with `quirks_mode: false` parses as if it is `true` and does not warn me.
Previously you could parse toplevel strings in JSON by setting `quirks_mode` to `true`
```sh
$ ruby -rjson -v -e ...
josh.cheek (Josh Cheek)
08:47 AM Revision c6eb59c4 (git): bignum.c: precise fdiv
* bignum.c (big_fdiv): more precise calculation. [ruby-dev:49915]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
08:42 AM Revision 6335fc6f (git): bignum.c (DBL_BIGDIG): make enum
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:21 AM Bug #12981: Date.parse raises an Argument error under a specific condition
I see a similar inconsistency in the `Date._parse` method. Everything works fine as expected as long as the `/` delim... alfiemax (Alfred Dominic)
05:58 AM Revision f797b156 (git): * 2016-12-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:58 AM Revision 49f38abe (git): .gdbinit: refine rp
* .gdbinit (rp): refine output of T_STRUCT and T_BIGNUM to show
all elements.
git-svn-id: svn+ssh://ci.ruby-lang.o...
nobu (Nobuyoshi Nakada)
01:22 AM Feature #13067: TrueClass,FalseClass to provide `===` to match truthy/falsy values.
It affects `case`/`when` clause too, and breaks optparse and rubygems at least.
```diff
diff --git i/lib/optparse...
nobu (Nobuyoshi Nakada)
12:17 AM Bug #13062: 2.4.0-rc1 BigDecimal regression - to_d inconsistent with other numeric classes
In attachment you will find patch for this issue.
This patch fixes issue with String#to_d method which was inconsi...
Esse (Piotr Szmielew)

12/24/2016

05:08 PM Feature #13067 (Closed): TrueClass,FalseClass to provide `===` to match truthy/falsy values.
I propose to make `TrueClass`, `FalseClass` to provide `===` method to match truthy values (`TrueClass`), and falsy v... matz (Yukihiro Matsumoto)
01:22 PM Revision c56182a0 (git): regint.h: version for secure functions
* regint.h (xvsnprintf): secure version functions are not
supported on old VC.
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
01:21 PM Revision 9a464db8 (git): hash.c: split long long literals
* hash.c (prime1, prime2): split long long literals for platforms
where LL suffix is not supported, e.g., VC6.
git...
nobu (Nobuyoshi Nakada)
01:19 PM Revision e53e9860 (git): compile.c: constify
* compile.c (method_for_self): constify an argument of build
function for VC6.
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
12:21 PM Bug #13066 (Closed): 2.4.0-rc1, VC14, Segmentation fault on RSS::TestRSS10Core#test_to_xml
Applied in changeset r57172.
----------
time.c: fix type of usec2subsecx
* time.c (usec2subsecx): fix return type, ...
nobu (Nobuyoshi Nakada)
11:28 AM Bug #13066: 2.4.0-rc1, VC14, Segmentation fault on RSS::TestRSS10Core#test_to_xml
I tried test-all with time.c which has debug code. Error messages are attached.
I did followings (step 1--8 is same ...
Anonymous
03:58 AM Bug #13066 (Closed): 2.4.0-rc1, VC14, Segmentation fault on RSS::TestRSS10Core#test_to_xml
I read Mr. Nakada's tweet (https://twitter.com/n0kada/status/811156759611965441), so I tried and got segmentation fau... Anonymous
12:21 PM Revision 44a4d7b0 (git): time.c: fix type of usec2subsecx
* time.c (usec2subsecx): fix return type, which is a numeric
object but not a long int. [ruby-dev:49912] [Bug #130...
nobu (Nobuyoshi Nakada)
12:19 PM Revision 4e41d5de (git): time.c: remove debug code
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:56 AM Revision 65a884eb (git): time.c: fix typo in value_insane_p
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:05 AM Bug #13064 (Feedback): Inconsistent behavior with `next` inside `begin`/`end` across different implementations.
It's a REPL implementation dependent (irb uses eval() inside). Try comparing them using file execution.
Matz.
matz (Yukihiro Matsumoto)
09:22 AM Revision e4aac80a (git): test/unit.rb: restore parallel option
* test/lib/test/unit.rb (_run_parallel): restore parallel option
after retrying for --repeat-count option.
git-svn...
nobu (Nobuyoshi Nakada)
07:02 AM Feature #12979: Avoid exception for #dup on Integer (and similar cases)
Mike Vastola wrote:
> Sorry.. I'm not used to Redmine and I was confused because there was no conclusion to the disc...
duerst (Martin Dürst)
05:25 AM Feature #12979: Avoid exception for #dup on Integer (and similar cases)
Sorry.. I'm not used to Redmine and I was confused because there was no conclusion to the discussion about the **`Arg... MikeVastola (Mike Vastola)
04:13 AM Feature #12979: Avoid exception for #dup on Integer (and similar cases)
Mike Vastola wrote:
> So, looking at this more closely, I'm beginning to think this issue was closed in error.
Th...
duerst (Martin Dürst)
03:23 AM Bug #13065 (Rejected): crash on rails server start
You mixed Ruby 2.0(system) and Ruby 2.3(rvm). hsbt (Hiroshi SHIBATA)
12:51 AM Revision 52acc428 (git): test/unit.rb: --subprocess-timeout-scale option
* test/lib/envutil.rb (EnvUtil#invoke_ruby): add subprocess
timeout scaling factor.
* test/lib/test/unit.rb (Test:...
nobu (Nobuyoshi Nakada)
12:50 AM Revision 642b3a26 (git): test/unit.rb: --repeat-count option
* test/lib/test/unit.rb (Test::Unit::RepeatOption): --repeat-count
option to repeat COUNT times while success.
git...
nobu (Nobuyoshi Nakada)

12/23/2016

09:54 PM Bug #12970: == Equality of recursive sets fails
I've created patch for this issue.
Basically we need to rehash hash beneath set if (and only if) added object is s...
Esse (Piotr Szmielew)
05:56 PM Bug #13065 (Rejected): crash on rails server start
```
/Users/robdaniels/.rvm/gems/ruby-2.3.1@dtcrafts/gems/puma-3.6.2/lib/puma/puma_http11.bundle: [BUG] Segmentation ...
robdaniels (Rob Daniels)
05:30 PM Bug #13063: net/http abends with local file URI
Reports like the above are not very good because the reporter has not really explained his point. shevegen (Robert A. Heiler)
10:55 AM Bug #13063 (Feedback): net/http abends with local file URI
Sorry, I don't get what you want. Net::HTTP is a HTTP library and file:/// is not a HTTP URL. You are doing somethin... shyouhei (Shyouhei Urabe)
12:37 AM Bug #13063 (Rejected): net/http abends with local file URI
Give the ruby code in issue.rb is:
~~~
begin
require 'uri'
require 'net/http'
p ::File.exist?('/tmp/to...
hedgehog (Hedge Hog)
04:09 PM Revision cad799b0 (git): * 2016-12-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:09 PM Revision 68cd029a (git): Add ruby_2_4 branch to test on travis [skip ci]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:07 PM Bug #13064 (Closed): Inconsistent behavior with `next` inside `begin`/`end` across different implementations.
[@Kalsan over on StackOverflow observed inconsistent behavior](http://stackoverflow.com/q/41283514/2988) with `next` ... jwmittag (Jörg W Mittag)
04:03 PM Revision 3f306dc2 (git): * 2016-12-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:03 PM Revision 75632813 (git): v2.4.0p0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:44 PM Revision bb347a87 (git): Release branch of Ruby 2.4
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:54 PM Revision dea8ea61 (git): Increase timeout
http://rubyci.org/logs/rubyci.s3.amazonaws.com/aix71_ppc/ruby-trunk/log/20161223T113301Z.fail.html.gz
git-svn-id: sv...
naruse (Yui NARUSE)
10:44 AM Feature #12161: Friendly BigDecimal#inspect
I see comment says
~~~
* BigDecimal.new("1234.5678").inspect
* #=> "0.12345678e4"
~~~
It's better th...
printercu (Max Melentiev)
03:22 AM Revision 2af72edd (git): assertions.rb: prepare_syntax_check
* test/lib/test/unit/assertions.rb (prepare_syntax_check): extract
common preparation of arguments from assert_vali...
nobu (Nobuyoshi Nakada)
03:22 AM Revision 6b5f9277 (git): assertions.rb: syntax check by iseq
* test/lib/test/unit/assertions.rb (assert_valid_syntax): use
RubyVM::InstructionSequence.compile to get rid of exe...
nobu (Nobuyoshi Nakada)
12:05 AM Revision 11e386cf (git): time.c: inquire suspicious values
* time.c (time_arg): dump sec and subsec arguments if subsecx is
insane.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)

12/22/2016

11:20 PM Revision 1c16a350 (git): test_modify_expand.rb: skip if no overflow
* test/-ext-/string/test_modify_expand.rb (test_integer_overflow):
no longer happens on platforms where size_t is l...
nobu (Nobuyoshi Nakada)
10:50 PM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
Already doing the rescue & reverse, but need to do it on every project...
Another use case is when using some moni...
nofxx (Marcos Piccinini)
10:34 PM Revision bd2e1034 (git): time.c: inquire suspicious values
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:16 PM Revision d124fa3a (git): string.c: suppress a warning
* string.c (rb_str_casecmp_p): [DOC] use Unicode escape form to
get rid of warning C4819 by Microsoft Visual C++.
...
nobu (Nobuyoshi Nakada)
08:58 PM Revision 0c9d4525 (git): * 2016-12-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:58 PM Revision 353395f9 (git): get rid of implicit signedness conversions
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:45 PM Feature #12979: Avoid exception for #dup on Integer (and similar cases)
So, looking at this more closely, I'm beginning to think this issue was closed in error.
For starters, while all t...
MikeVastola (Mike Vastola)
07:36 PM Feature #12979: Avoid exception for #dup on Integer (and similar cases)
In Rails we've circumvented this with a `duplicable?` core extension.
We'd need `dup` support on Method, Complex a...
kaspth (Kasper Timm Hansen)
12:45 PM Bug #12855: Inconsistent keys identity in compare_by_identity Hash when using literals
Eric Wong wrote:
> Unintentional, yes, but maybe moot since frozen_string_literal
> is going to be default in the ...
Eregon (Benoit Daloze)
01:03 AM Bug #12855: Inconsistent keys identity in compare_by_identity Hash when using literals
Unintentional, yes, but maybe moot since frozen_string_literal
is going to be default in the future (maybe that cas...
normalperson (Eric Wong)
10:29 AM Revision 2a6727b5 (git): test_float.rb: add test cases for Float#round
* test_float.rb: add test cases for Float#round with
half nil. Follow up r57130.
git-svn-id: svn+ssh://ci.ruby-lan...
yui-knk (Kaneko Yuichiro)
09:44 AM Bug #13060 (Closed): pkg_config breaks when adding '-Wconversion' to $CFLAGS
Applied in changeset r57150.
----------
suppress warning: implicit conversion changes signedness
It causes [Bug #13...
naruse (Yui NARUSE)
12:11 AM Bug #13060: pkg_config breaks when adding '-Wconversion' to $CFLAGS
I was able to track it down to this commit using git bisect, https://github.com/ruby/ruby/commit/feaa82a42ba238d9192d... hone (Terence Lee)
09:44 AM Revision 5153260c (git): suppress warning: implicit conversion changes signedness
It causes [Bug #13060]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:40 AM Revision ac8f9a0a (git): io.c: [DOC] update outdated documentation of ARGF.close
As of Ruby 2.3, IO#close no longer raises IOError if the file is already
closed.
git-svn-id: svn+ssh://ci.ruby-lang....
rhenium (Kazuki Yamaguchi)
03:53 AM Revision a1f3d0b6 (git): Update xmlrpc-0.2.1 for Ruby 2.4.0 release.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
03:00 AM Bug #13061 (Third Party's Issue): May have encountered a bug in the Ruby interpreter or extension libraries.
nobu (Nobuyoshi Nakada)
12:51 AM Bug #13061 (Third Party's Issue): May have encountered a bug in the Ruby interpreter or extension libraries.
When I run the "rails test", the crash happened.
PS: I uploaded a report of my terminal, but i don't know if it's ...
RokyZevon (Roky Zevon)
02:00 AM Revision c83f23ad (git): test_rinda.rb: ipv6_mc
* test/rinda/test_rinda.rb (RingIPv6#ipv6_mc): extract IPv6
multicast setup and cleanup, and ignore ENETDOWN.
git-...
nobu (Nobuyoshi Nakada)
01:43 AM Revision b7458f20 (git): openssl: import v2.0.2
Import Ruby/OpenSSL 2.0.2. This release contains only bugfixes. The full
commit log since 2.0.1 (imported at r57041) ...
rhenium (Kazuki Yamaguchi)
01:40 AM Feature #12902: How about Enumerable#sum uses initial value rather than 0 as default?
Just to add, this breaks code which uses facets.
https://github.com/rubyworks/facets/issues/247
The method sign...
ioquatix (Samuel Williams)
01:34 AM Bug #13062 (Closed): 2.4.0-rc1 BigDecimal regression - to_d inconsistent with other numeric classes
To solve #10286, `BigDecimal()` was changed to raise exceptions on invalid input, which is more consistent with the o... jhawthorn (John Hawthorn)
01:17 AM Feature #12854: Proc#curry should return an instance of the class, not Proc
Yusuke Endoh wrote:
> I proposed and first implemented `Proc#curry`. I have no idea how this change may skew the co...
shyouhei (Shyouhei Urabe)
01:13 AM Feature #13017: Switch SipHash from SipHash24 to SipHash13
You can't find the discussion about SipHash24 because (1) it was security-related, and (2) there was no other choice ... shyouhei (Shyouhei Urabe)
 

Also available in: Atom