Project

General

Profile

Activity

From 01/11/2016 to 01/17/2016

01/17/2016

04:14 PM Revision af18eafc (git): test_syntax.rb: try all
* test/ruby/test_syntax.rb (assert_dedented_heredoc): try all
terminators regardless failures.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:11 PM Revision 5ce4a050 (git): * 2016-01-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:11 PM Revision 5aabf722 (git): remove extra dot
* test/lib/test/unit/assertions.rb (all_assertions): remove tail
dot as it is added in message again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:01 PM Bug #11657: Abort Trap 6 when running a test suite
Backported at r53567.
ko1 san thank you for providing a patch.
Hello, Andrew.
Sorry for my late reaction. The next patchlevel release 2.2.5 contains the fix for this issue.
Thank you for reporting this.
nagachika (Tomoyuki Chikanaga)
03:59 PM Revision 2054417e (git): merge revision(s) 53164: [Backport #11657]
* vm_insnhelper.c (vm_call_method_each_type): should not set fastpath
with keyword arguments for VM_METHOD_TYPE_ATTRSET type methods.
Normally, we can not use keyword arguments for this kind of methods,
(obj...
nagachika (Tomoyuki Chikanaga)
01:42 PM Bug #11998 (Third Party's Issue): Segmentation fault
You load an extension library for 2.2 from ruby 2.0.
Seems the rvm's issue as usual.
nobu (Nobuyoshi Nakada)
12:52 PM Bug #11998 (Third Party's Issue): Segmentation fault
Ruby seems to have crashed while attempting to run an alias in the command line, reverting to -v 2.0.0 after crash shmully (Shmully Wolfson)
12:20 PM Revision 9bed6e8e (git): * configure.in: improve ICC (Intel C Compiler) support.
* configure.in (CXX): The name of icc's c++ compiler is `icpc`.
* configure.in (warnings): Add `-diag-disable=2259` to suppress
noisy warnings: "non-pointer conversion from "..." to "..." may
lose significant bits".
* configure.in ...
naruse (Yui NARUSE)
11:40 AM Revision e580847c (git): * string.c: Any kind of option is now taking the new code path for
upcase/downcase/capitalize/swapcase. :lithuanian can be used for
testing if no specific option is desired.
* test/ruby/enc/test_case_mapping.rb: Adjusted to above.
(with Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
duerst (Martin Dürst)
11:10 AM Revision f307d1fe (git): * enc/unicode.c: Fixed a logical error and some comments.
* test/ruby/enc/test_case_mapping.rb: Made tests more general.
(with Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
09:03 AM Revision 39f44f01 (git): get rid of non-ascii chars
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:42 AM Revision 959bbb6f (git): * enc/unicode.c: Removed artificial expansion for Turkic,
added hand-coded support for Turkic, fixed logic for swapcase.
* string.c: Made use of new case mapping code possible from upcase,
capitalize, and swapcase (with :lithuanian as a guard).
* test/ruby/enc/test_case_mapping.rb: Adjusted f...
duerst (Martin Dürst)
06:31 AM Revision 0bc53416 (git): option.c: single byte boolean
* ext/socket/option.c (sockopt_bool): relax boolean size to be one
too not only sizeof(int). Winsock getsockopt() returns a single
byte as a boolean socket option. [ruby-core:72730] [Bug #11958]
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
06:31 AM Bug #11958 (Closed): TCPSocket.getsockopt().bool raises a TypeError on windows
Applied in changeset r53561.
----------
option.c: single byte boolean
* ext/socket/option.c (sockopt_bool): relax boolean size to be one
too not only sizeof(int). Winsock getsockopt() returns a single
byte as a boolean socket opti...
nobu (Nobuyoshi Nakada)
05:43 AM Revision f918d2b8 (git): Add a test case for ENV#select_bang,keep_if
* test/ruby/test_env.rb: [Fix GH-1201]
* Extract test code for ENV#keep_if from ENV#select_bang
* Add a test case for ENV#select_bang,keep_if
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:43 AM Revision ddd40c73 (git): Add a test case for ENV#reject_bang,delete_if
* test/ruby/test_env.rb: [Fix GH-1201]
* Extract test code for ENV#delete_if from ENV#reject_bang
* Add a test case for ENV#reject_bang,delete_if
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53559 b2dd03c8-39d4-4d8f-98ff-823fe6...
nobu (Nobuyoshi Nakada)
05:41 AM Revision 00cd6c62 (git): * 2016-01-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:41 AM Revision b25ad0da (git): option.c: make error messages consistent
* ext/socket/option.c (check_size): extract a macro to check
binary data size, with a consistent message.
* ext/socket/option.c (sockopt_byte): fix error message,
sizeof(int) differs from sizeof(unsigned char) in general.
git-svn-id...
nobu (Nobuyoshi Nakada)
03:50 AM Bug #11996 (Feedback): bin/rails server Unavailable
What is the whole message, and the diagnostic report? nobu (Nobuyoshi Nakada)

01/16/2016

02:53 PM Revision 361d51a7 (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:16 PM Revision c8348d0c (git): parse.y: should not deent concatenated string
* parse.y (xstring): reset heredoc indent after dedenting,
so that following string literal would not be dedented.
[ruby-core:72857] [Bug #11990]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53555 b2dd03c8-39d4-4d8f-98ff-823fe6...
nobu (Nobuyoshi Nakada)
11:28 AM Bug #7676: Comparison of Float::NAN in array behaves unexpectedly
It appears calling eql? on array does not behave in this way:
```
[Float::NAN].eql? [Float::NAN]
=> false
```
Should we aim for consistency between these methods? Does it make sense for one to have an identity check and for the ot...
dwfait (Dwain Faithfull)
09:09 AM Feature #11997: A method to read a file with interpolations
> Why not erb?
Erb syntax is too much noise to me. It is centered toward html (it resembles html tagging), which is notorious for being a human-unfriendly notation. And it does not look that good when used for things other than an htm...
sawa (Tsuyoshi Sawada)
02:07 AM Feature #11997 (Feedback): A method to read a file with interpolations
Why not erb? nobu (Nobuyoshi Nakada)
08:24 AM Revision c12af767 (git): * enc/unicode.c: Artificial mapping to test buffer expansion code.
* string.c: Fixed buffer expansion logic.
* test/ruby/enc/test_case_mapping.rb: Tests for above.
(with Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
07:51 AM Revision d2076446 (git): * ext/openssl/lib/openssl/pkey.rb: Added 2048 bit DH parameter.
* test/openssl/test_pkey_dh.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
02:05 AM Bug #11995 (Rejected): BigDecimal#power fails for some values
The latter is parsed as `-(0.5**0.2)`.
~~~
$ ruby -e 'p (-0.5)**0.2'
(0.7042902001692478+0.5116967824803669i)
~~~
`Float#**` can result an imaginary number, but `BigDecimal` is only for real numbers.
nobu (Nobuyoshi Nakada)
01:51 AM Revision 219467ab (git): * enc/unicode.c: fix implicit conversion error with clang. fixup r53548.
* string.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
01:37 AM Revision 203e604f (git): * common.mk: test-sample was changed to test-basic.
[Feature #11982][ruby-core:72823]
* basictest/runner.rb: ditto. rename from tool/rubytest.rb.
* basictest/test.rb: ditto. rename from sample/test.rb.
* defs/gmake.mk: picked from r53540
* sample/test.rb: backword compatibility for chkbui...
hsbt (Hiroshi SHIBATA)
01:37 AM Feature #11982 (Closed): Rename test-sample
Applied in changeset r53551.
----------
* common.mk: test-sample was changed to test-basic.
[Feature #11982][ruby-core:72823]
* basictest/runner.rb: ditto. rename from tool/rubytest.rb.
* basictest/test.rb: ditto. rename from sample/t...
hsbt (Hiroshi SHIBATA)
01:24 AM Revision f69d6c4f (git): * 2016-01-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:24 AM Revision 72fa5a8e (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:24 AM Revision be897c25 (git): * string.c, enc/unicode.c: New code path as a preparation for Unicode-wide
case mapping. The code path is currently guarded by the :lithuanian
option to avoid accidental problems in daily use.
* test/ruby/enc/test_case_mapping.rb: Test for above.
* string.c: function 'check_case_options': fixed logical errors...
duerst (Martin Dürst)

01/15/2016

08:32 PM Feature #11997 (Feedback): A method to read a file with interpolations
I request a single method that reads a file while interpreting interpolated Ruby code in it (in the current context). For example, suppose I have a file `foo.txt`.
foo.txt
~~~
#{char * 20}
Hello, my name is #{name}.
#{char * 20}...
sawa (Tsuyoshi Sawada)
05:12 PM Bug #11996 (Closed): bin/rails server Unavailable
Hey there,
I'm new to Ruby and Rails so not really sure what the problem is here. I've created a 'railsbridge' directory and under it created a Ruby app; 'test_app.' After building and running 'rails server' in my terminal (Mac El Ca...
apelchuk (Arkady Apelchuk)
03:57 PM Bug #11979 (Closed): gcc-6 fails to optimize regcomp.c:compile_length_quantifier_node()
octoploid octoploid wrote:
> Takeshi Nishimatsu wrote:
> ...
Thank you for notice that, I close this.
naruse (Yui NARUSE)
01:27 PM Bug #11979: gcc-6 fails to optimize regcomp.c:compile_length_quantifier_node()
Takeshi Nishimatsu wrote:
> Sorry, but GCC developers judged my bug report as INVALID.
> ...
I changed the resolution to "fixed". Today's gcc trunk compiles ruby without any issues.
octoploid (octoploid octoploid)
09:57 AM Bug #11979: gcc-6 fails to optimize regcomp.c:compile_length_quantifier_node()
Sorry, but GCC developers judged my bug report as INVALID.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69291
On the other hand, the same build error is reported in Ubuntu:
amd64 build of ruby2.2 2.2.3-2 in ubuntu xenial RELEASE
ht...
t-nissie (Takeshi Nishimatsu)
06:04 AM Bug #11979: gcc-6 fails to optimize regcomp.c:compile_length_quantifier_node()
I reported this issue as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69291 with new info of:
I found strange behavior. If I built the ruby in /tmp on CentOS 6.7,
this issue does not stop to `make encdb.h`. But anyway, it stops to `m...
t-nissie (Takeshi Nishimatsu)
03:19 PM Bug #11995 (Rejected): BigDecimal#power fails for some values
$ irb -rbigdecimal
> BigDecimal('-0.5').power(BigDecimal('0.2'))
Math::DomainError: Zero or negative argument for log
but
> ...
=> -0.8705505632961241
The same is true for a few other exponent version I have tested. Is that fe...
dolzenko (Evgeniy Dolzhenko)
02:12 PM Bug #11994 (Closed): Incorrect result for yday in vtm_add_offset with negative UTC offset on last day of the year
When you have a UTC time value that's the first day of the year and then convert it to a time value with a negative UTC offset so that it's the 31st December then the year day is calculated incorrectly, e.g:
~~~
>> t = Time.utc(2015,...
pixeltrix (Andrew White)
01:16 PM Revision 2fd11c76 (git): .gdbinit: dump_node [ci skip]
* .gdbinit (dump_node): dump NODE list in gdb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:15 PM Revision fd7b490f (git): disable unaligned word access
* include/ruby/defines.h, st.c: disable unaligned word access with
gcc 6 or later. [Bug #11831]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:12 PM Revision 04c55c07 (git): disable unaligned word access
* regint.h: disable unaligned word access with gcc 6 or later.
[Bug #11831]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:11 PM Bug #11831 (Closed): Undefined behavior issues
Applied in changeset r53545.
----------
disable unaligned word access
* regint.h: disable unaligned word access with gcc 6 or later.
[Bug #11831]
nobu (Nobuyoshi Nakada)
01:10 PM Bug #11831: Undefined behavior issues
Naohisa Goto wrote:
> Since r53543, unaligned word access can be disabled with ./configure CPPFLAGS="-DUNALIGNED_WORD_ACCESS=0"
> ...
Thanks Goto-san. This fixes the issue.
And BTW it turned out that the gcc-6 build failure (Bug #11...
octoploid (octoploid octoploid)
12:25 PM Bug #11831: Undefined behavior issues
Since r53543, unaligned word access can be disabled with ./configure CPPFLAGS="-DUNALIGNED_WORD_ACCESS=0"
I think the "load of misaligned address" error can be squashed by this.
ngoto (Naohisa Goto)
01:08 PM Revision 78d4bc92 (git): Revert r53539 and r53540
* basictest/test.rb: revert r53539 because it depends on r53537.
* gmake.mk: ditto, revert r53540.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:02 PM Feature #11982 (Open): Rename test-sample
hsbt (Hiroshi SHIBATA)
12:25 AM Feature #11982 (Closed): Rename test-sample
Applied in changeset r53537.
----------
* common.mk: test-sample was changed to test-basic.
[Feature #11982][ruby-core:72823]
* basictest/runner.rb: ditto. rename from tool/rubytest.rb.
* basictest/test.rb: ditto. rename from sample/t...
hsbt (Hiroshi SHIBATA)
11:25 AM Revision 5df321fb (git): * regint.h (PLATFORM_UNALIGNED_WORD_ACCESS): The value of
UNALIGNED_WORD_ACCESS should be used to determine whether
unaligned word access is allowed or not. After this commit,
./configure CPPFLAGS="-DUNALIGNED_WORD_ACCESS=0" disables
unaligned word access even on platforms that support th...
ngoto (Naohisa Goto)
11:05 AM Revision e0ea6417 (git): Revert "* common.mk: test-sample was changed to test-basic."
This reverts r53537.
Fix chkbuild first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
09:43 AM Bug #11991: `Symbol#match` returns the match position, unlike `String#match` and `Regexp#match`
I would be happy to adapt the spec suite to the newer behavior if we decide so, of course.
However, I think such a change should be done not before the next minor (2.4) for potential incompatibility.
Eregon (Benoit Daloze)
06:28 AM Bug #11991: `Symbol#match` returns the match position, unlike `String#match` and `Regexp#match`
Seems a bug, but ["spec-style" test suit](https://github.com/ruby/spec/blob/master/core/symbol/match_spec.rb) seems depending on the current behavior.
~~~diff
diff --git i/string.c w/string.c
index e4b323d..864f6c4 100644
--- i/str...
nobu (Nobuyoshi Nakada)
09:05 AM Bug #11993 (Rejected): foo(hash) is handled like foo(**hash)
Given this method:
def foo(a = nil, b: nil)
p a: a, b: b
end
I can pass keyword arguments to it and I can turn a hash into keyword arguments with the `**` operator:
foo(b: 1) #=> {:a=>nil, :b=>1}
f...
sos4nt (Stefan Schüßler)
07:12 AM Revision 0d75b7f9 (git): parse.y: should not deent concatenated string
* parse.y (string1): reset heredoc indent fore each string leteral
so that concatenated string would not be dedented.
[ruby-core:72857] [Bug #11990]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53541 b2dd03c8-39d4-4d8f-98ff-823...
nobu (Nobuyoshi Nakada)
07:12 AM Bug #11990 (Closed): Dedenting heredoc interacts poorly with string concatenation
Applied in changeset r53541.
----------
parse.y: should not deent concatenated string
* parse.y (string1): reset heredoc indent fore each string leteral
so that concatenated string would not be dedented.
[ruby-core:72857] [Bug #11990]
nobu (Nobuyoshi Nakada)
06:17 AM Bug #11992 (Feedback): Regexp match data
I can't reproduce it, with any of 1.8..2.3, nor jruby-9.0.1.0.
~~~
$ ruby -e 'm=" M.S. Math \n M.S. Computer Eng. \n".match /M\.S\./; p m.offset(0), m.offset(1)'
-e:1:in `offset': index 1 out of matches (IndexError)
from -e:1:in ...
nobu (Nobuyoshi Nakada)
03:18 AM Bug #11992: Regexp match data
Found in jruby too rinkevichjm (James Rinkevich)
03:17 AM Bug #11992 (Closed): Regexp match data
~~~ruby
m=" M.S. Math \n M.S. Computer Eng. \n".match /M\.S\./
m.offset 0
[1,5]
m.offset 1
[1,5] # should be [13,17]
rinkevichjm (James Rinkevich)
05:50 AM Bug #11980: External methods are appearing as instance methods for String
It's not really a bug.
When you define following method. It is added on Object class. And any class which inherits from Object class will have following method.
You can try calling following method on any class which inherits Obj...
codetodya (Sumit Mahamuni)
04:39 AM Revision 1b191689 (git): gmake.mk: update order
* defs/gmake.mk (yes-test-basic): update the target name and the
order of tests. [Feature #11982]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:33 AM Revision 6b39fba4 (git): basictest/test.rb: update message
* basictest/test.rb (test_check): update the file name in
messages, as r53537. [Feature #11982]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:25 AM Revision 81a93c07 (git): * 2016-01-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:25 AM Revision 17238bce (git): * common.mk: test-sample was changed to test-basic.
[Feature #11982][ruby-core:72823]
* basictest/runner.rb: ditto. rename from tool/rubytest.rb.
* basictest/test.rb: ditto. rename from sample/test.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53537 b2dd03c8-39d4-4d8f-98ff-823fe6...
hsbt (Hiroshi SHIBATA)

01/14/2016

10:20 PM Bug #11991 (Closed): `Symbol#match` returns the match position, unlike `String#match` and `Regexp#match`
`String#match` and `Regexp#match` return a `MatchData` when match succeeds:
~~~RUBY
"".match(//) # => #<MatchData "">
//.match("") # => #<MatchData "">
//.match(:"") # => #<MatchData "">
~~~
But `Symbol#match` returns the match...
sawa (Tsuyoshi Sawada)
10:11 PM Bug #11977: Bug with array literals caused by r53376
Eric Wong wrote:
> tenderlove@ruby-lang.org wrote:
> ...
Ah, interesting. Thank you for the explanation and the fix. I appreciate it!
tenderlovemaking (Aaron Patterson)
10:09 PM Bug #11657: Abort Trap 6 when running a test suite
2.3.0 works, but 2.2.4 currently doesn't include the fix. I note a tag saying 2.2 is required; I guess it'll end up in 2.2.5 at some point? Thought I'd double-check given that this issue is now marked as Closed but 2.2.4 still crashes. T... adh1003 (Andrew Hodgkinson)
03:06 PM Revision 37c5197b (git): merge revision(s) 53535:
* lib/uri/generic.rb (URI::Generic#to_s): change encoding to
UTF-8 as Ruby 2.2/ by Koichi ITO <koic.ito@gmail.com>
https://github.com/ruby/ruby/pull/1188 fix GH-1188
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branc...
naruse (Yui NARUSE)
01:51 PM Bug #11985: SignalException: SIGABRT when rake test
I met with failures when i tried to simplify my code, `SignalException` will always be disappeared when i try to delete some codes. So i have to use the whole project as an example.
1. Clone the unfinished project https://github.com/w...
wensen (Vincent Ting)
01:41 PM Bug #11990 (Closed): Dedenting heredoc interacts poorly with string concatenation
The following code reproduces the problem:
~~~
p <<~E " y"
x
E
~~~
It prints `"x\ny"`, but the second string is not dedenting. It should print `"x\n y"`.
whitequark (whitequark *)
12:45 PM Bug #11989 (Closed): Dedenting interpolating heredoc can interpret escapes incorrectly
It is clear that the dedenting <<~HEREDOC feature was intended to only consider actual whitespace in the source file as indentation, not any escaped whitespace. E.g.:
~~~ruby
p <<~"E"
\ x
y
E
~~~
It prints `" x\n y\n"`. S...
whitequark (whitequark *)
11:20 AM Revision aa90e3b8 (git): * lib/uri/generic.rb (URI::Generic#to_s): change encoding to
UTF-8 as Ruby 2.2/ by Koichi ITO <koic.ito@gmail.com>
https://github.com/ruby/ruby/pull/1188 fix GH-1188
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
10:31 AM Bug #11973 (Rejected): IO#advise should raise NotImplementedError on platforms that do not support that call
Closing this issue, since people seem to agree the current behavior is intended.
(Also see https://github.com/ruby/spec/issues/183#issuecomment-171467414)
Eregon (Benoit Daloze)
09:42 AM Bug #11988 (Assigned): YAML.dump doesn't quote string starting with 0 which will be recognized as float in YAML 1.2
I found it is psych's issue.
Following fixes this (but may be it is fixed in Psych::ScalarScanner#tokenize.
```diff
diff --git a/ext/psych/lib/psych/visitors/yaml_tree.rb b/ext/psych/lib/psych/visitors/yaml_tree.rb
index 7c40050..1...
naruse (Yui NARUSE)
12:14 AM Bug #11988: YAML.dump doesn't quote string starting with 0 which will be recognized as float in YAML 1.2
I suspect that it may be a behavior of libyaml. nobu (Nobuyoshi Nakada)
08:36 AM Revision 92e803c9 (git): variable.c: matched backrefs only
* variable.c (rb_f_global_variables): add matched back references
only, as well as defiend? operator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:12 AM Revision 1301d1f5 (git): sprintf.c: exact number
* sprintf.c (rb_str_format): format exact number more exactly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:10 AM Revision ed11f4b4 (git): test_sprintf.rb: simplify
* test/ruby/test_sprintf.rb (test_rational): enumerate formatted
flags and simplify.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:09 AM Revision 55cb1b5e (git): * Remove 512-bit DH group. It's affected by LogJam Attack.
https://weakdh.org/
[fix GH-1196][Bug #11968][ruby-core:72766]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
06:08 AM Bug #11968 (Closed): OpenSSL extension only supports weak (512-bit, 1024-bit) Diffie-Hellman groups
Applied in changeset r53531.
----------
* Remove 512-bit DH group. It's affected by LogJam Attack.
https://weakdh.org/
[fix GH-1196][Bug #11968][ruby-core:72766]
hsbt (Hiroshi SHIBATA)
03:03 AM Bug #11979: gcc-6 fails to optimize regcomp.c:compile_length_quantifier_node()
gcc-6 fails to optimize ruby-2.3.0/regcomp.c:compile_length_quantifier_node()
and cannot build the ruby. Even the -O1 optimization option fails.
Adding `__attribute__((optimize("O0")))` before the function can evade this issue.
I conf...
t-nissie (Takeshi Nishimatsu)
02:45 AM Revision 7e825eee (git): variable.c: $1..$9 in global_variables
* variable.c (rb_f_global_variables): add $1..$9 only if $~ is
set. fix the condition removed at r14014.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:15 AM Revision d5c5d5c7 (git): * 2016-01-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:15 AM Revision 39cf3780 (git): hash.c: trivial optimization
* hash.c (rb_hash_initialize_copy): trivial optimization, copy
HASH_PROC_DEFAULT bit directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

01/13/2016

07:38 PM Bug #11988 (Closed): YAML.dump doesn't quote string starting with 0 which will be recognized as float in YAML 1.2
YAML.dump doesn't quote string "019" but it is recognized as float using Core Schema tag resolution option of YAML 1.2 specification.
Therefore, SnakeYAML (Java) recognizes a string "019" serialized by Ruby's YAML as float 19.0 unexpect...
frsyuki (Sadayuki Furuhashi)
07:16 PM Bug #11973: IO#advise should raise NotImplementedError on platforms that do not support that call
Ruby APIs try to unify across platforms, and IO is not just POSIX.
So I think "noop returning nil" is an appropriate implementation on systems which do not support posix_fadvise.
For instance, Process.clock_gettime also works for gen...
Eregon (Benoit Daloze)
06:35 PM Bug #11973: IO#advise should raise NotImplementedError on platforms that do not support that call
I do not have any use-cases, unfortunately. I am just arguing from a standpoint of what I believe to be correct. If a platform DOES NOT have a function, when I call that function it should fail loudly. I don't care if the function is a h... cremes (Chuck Remes)
08:28 AM Bug #11973: IO#advise should raise NotImplementedError on platforms that do not support that call
On Tue, Jan 12, 2016 at 7:06 PM, Eric Wong <normalperson@yhbt.net> wrote:
> git@chuckremes.com wrote:
>> 3. If the platform DOES NOT SUPPORT posix_fadvise, then it should
>> raise NotImplementedError in all cases.
>>
>> I hope that...
kosaki (Motohiro KOSAKI)
12:17 AM Bug #11973: IO#advise should raise NotImplementedError on platforms that do not support that call
git@chuckremes.com wrote:
> 3. If the platform DOES NOT SUPPORT posix_fadvise, then it should
> raise NotImplementedError in all cases.
>
> I hope that is more clear. These rules should make IO#advise MORE CONSISTENT.

I disagree...
normalperson (Eric Wong)
01:32 PM Bug #11979: gcc-6 fails to optimize regcomp.c:compile_length_quantifier_node()
gcc-6 fails to optimize regcomp.c.
~~~
$ ../configure CC=/usr/local/bin/gcc
$ make -j4 encdb.h # => ArgumentError
$ rm regcomp.o
$ make optflags="-O0 -fno-fast-math" V=1 encdb.h
:
gcc version 6.0.0 20151115 (experimental) ...
t-nissie (Takeshi Nishimatsu)
11:11 AM Bug #11985: SignalException: SIGABRT when rake test
Nobuyoshi Nakada wrote:
> How can I reproduce it?
Sorry, I'm trying to minify my code to reproduce it, but still not work out yet. I'll paste it here as soon as I finish it.
wensen (Vincent Ting)
10:54 AM Bug #11985 (Feedback): SignalException: SIGABRT when rake test
nobu (Nobuyoshi Nakada)
10:53 AM Bug #11985: SignalException: SIGABRT when rake test
How can I reproduce it? nobu (Nobuyoshi Nakada)
09:08 AM Bug #11985 (Closed): SignalException: SIGABRT when rake test
wensen (Vincent Ting)
10:58 AM Feature #11987: daemons can't show the backtrace of rb_bug
I always recommend pointing stderr to a regular file using
`IO#reopen` after daemonization. Perhaps kwargs may be added
to Process.daemon to encourage this usage?
Process.daemon err: '/path/to/stderr.log', out: '/path/to/stdout.log'
normalperson (Eric Wong)
10:38 AM Feature #11987 (Open): daemons can't show the backtrace of rb_bug
Ruby shows backtrace and other information into stderr on rb_bug.
But daemon process redirects stderr into /dev/null.
How do I get the log?
NOTE: if I can reproduce this, I can use strace to get it. But issues are not always reprodu...
naruse (Yui NARUSE)
10:19 AM Bug #11986 (Third Party's Issue): Segmentation fault
I've got the attached segmentation fault every time I shut down a web app. The web app is made with Sinatra and supports WebSockets with faye-websocket gem. The app runs with Passenger in standalone mode. I've already tried more Ruby ver... fabioin (Fabio Inguaggiato)
08:22 AM Revision 7cb5b7dd (git): * .travis.yml: removed commented-out code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:15 AM Revision 6cea22b5 (git): * .travis.yml: removed osx code. follow up with r53517
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:05 AM Revision be61b2b1 (git): vm_eval.c: fstring format
* vm_eval.c (make_no_method_exception): make format string
fstring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:56 AM Revision 22121544 (git): iseq.c: mark parent iseq
* iseq.c (rb_iseq_mark): mark parent iseq to prevent dynamically
generated iseq by eval from GC. [ruby-core:72620] [Bug #11928]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:42 AM Bug #11984 (Rejected): DateTime.parse can parse invalid datetime string
It seems if you pass a string which begins with 2 alphabets and following is 7 numerics, it can be parsed as DateTime, as follows
irb(main):002:0> require 'time'
irb(main):008:0> dt0 = DateTime.parse('fg4534253dd')
=> #<DateTime: 4...
lanscene (jarry xu)
04:44 AM Bug #11928: Segmentation fault in did_you_mean extension
This script still causes SEGV.
Confirmed with `ruby 2.4.0dev (2016-01-13 trunk 53518) [x86_64-darwin15]` and `ruby 2.4.0dev (2016-01-13 trunk 53518) [x86_64-linux]`.
```ruby
->{
->{
->{
eval <<-EOS
class Segf...
wanabe (_ wanabe)
04:02 AM Revision be4501bf (git): fix previous commit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:22 AM Revision 7c276364 (git): make CI output simpler
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:03 AM Revision cf8bbd0c (git): don't replace job status, it consume log length count
"The log length has exceeded the limit of 4 Megabytes (this usually
means that test suite is raising the same exception over and over)."
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:24 AM Revision 4a3462bd (git): test_thread.rb: wait for the thread to sleep
* test/ruby/test_thread.rb (test_thread_name): wait for the status
of the subject thread to fix, so that the status does not change
between two inspect methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53520 b2dd03c8-39d4-4...
nobu (Nobuyoshi Nakada)
02:04 AM Revision 0a641b4c (git): try sudo:false on travis
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

01/12/2016

07:38 PM Bug #11977: Bug with array literals caused by r53376
tenderlove@ruby-lang.org wrote:
> Thanks for the patch. That indeed fixes it for me. Can you apply it?

Thanks for the confirmation, r53518

> I guess this is due to the hash table change? I can't say I fully understand
> why t...
normalperson (Eric Wong)
07:25 PM Bug #11977 (Closed): Bug with array literals caused by r53376
Applied in changeset r53518.
----------
resolve class name earlier and more consistently
This further avoids class name resolution issues which came
about due to relying on hash table ordering before r53376.
Pre-caching the class name...
Anonymous
06:31 PM Bug #11977: Bug with array literals caused by r53376
Eric Wong wrote:
> I can't seem to reproduce the problem with array_bug.git on my end.
> ...
Thanks for the patch. That indeed fixes it for me. Can you apply it?
I guess this is due to the hash table change? I can't say I fully u...
tenderlovemaking (Aaron Patterson)
02:28 AM Bug #11977: Bug with array literals caused by r53376
I can't seem to reproduce the problem with array_bug.git on my end.
Can you try this?

http://80x24.org/spew/20160112021410.27364-1-e%4080x24.org/raw

Thanks

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscri...
normalperson (Eric Wong)
07:26 PM Revision 244916d4 (git): resolve class name earlier and more consistently
This further avoids class name resolution issues which came
about due to relying on hash table ordering before r53376.
Pre-caching the class name when it is never used raises memory
use, but the overall gain from moving away from st sti...
Eric Wong
05:46 PM Bug #11930: Segmentation Fault in gc_mark_ptr in 2.3.0p0
alex maznev wrote:
> Running into the same issue here. https://github.com/mperham/sidekiq/issues/2763
Using `bundle exec` seems to clear this up for me. I think there is still a problem somewhere though.
b264 (Brian Giaraffa)
02:35 AM Bug #11930: Segmentation Fault in gc_mark_ptr in 2.3.0p0
Running into the same issue here. https://github.com/mperham/sidekiq/issues/2763 pik (alex maznev)
05:31 PM Bug #11968: OpenSSL extension only supports weak (512-bit, 1024-bit) Diffie-Hellman groups
I have opened a PR on GitHub here:
https://github.com/ruby/ruby/pull/1196
bascule (Tony Arcieri)
05:10 PM Revision 8c8f92cd (git): drop osx and clang because they are often fails and slow
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:37 PM Revision 05f1caa1 (git): Fix typo [ci skip]
* man/ruby.1: fix double word typo. [Fix GH-1194]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:26 PM Bug #11983 (Rejected): define_method not raising error for invalid method name
It's a spec that `define_method` can define any name and `__send__` also can call it. nobu (Nobuyoshi Nakada)
02:18 PM Bug #11983 (Rejected): define_method not raising error for invalid method name
## Steps to Reproduce:
Inside irb:
~~~ruby
Class A
end
A.send(:define_method, "may_run!?") do |*args, &block|
p "random text"
end
a = A.new
a.may_run!?
~~~
* never return from this function.
------------------...
anilmaurya (Anil Maurya)
03:17 PM Revision a0f60979 (git): * 2016-01-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:17 PM Revision 1b39a6e5 (git): iseq.c: mark parents of wrapped iseq
* iseq.c (iseqw_mark): as wrapped iseq is isolated from the call
stack, it needs to take care of its parent and ancestors, so
that they do not become orphans. [ruby-core:72620] [Bug #11928]
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)
03:16 PM Bug #11928 (Closed): Segmentation fault in did_you_mean extension
Applied in changeset r53514.
----------
iseq.c: mark parents of wrapped iseq
* iseq.c (iseqw_mark): as wrapped iseq is isolated from the call
stack, it needs to take care of its parent and ancestors, so
that they do not become orph...
nobu (Nobuyoshi Nakada)
02:15 PM Bug #11979: gcc-6 fails to optimize regcomp.c:compile_length_quantifier_node()
This IS a GCC version specific issue.
~~~
make -j16 optflags="-O0 -fno-fast-math"
~~~
can compile ruby-2.3.0, but
~~~
make -j16 optflags="-O1 -fno-fast-math"
~~~
cannot.
I want to know which file in ruby-2.3.0 reveals ...
t-nissie (Takeshi Nishimatsu)
10:54 AM Bug #11979 (Closed): gcc-6 fails to optimize regcomp.c:compile_length_quantifier_node()
This may be a GCC version specific issue.
gcc-6, an experimental snapshot from http://ftp.tsukuba.wide.ad.jp/software/gcc/snapshots/6-20160110/ ,
fails to compile ruby-2.2.4 and ruby-2.3.0 with an error of
**template/encdb.h.tmpl:63:i...
t-nissie (Takeshi Nishimatsu)
02:11 PM Feature #11982: Rename test-sample
Benoit Daloze wrote:
> test-basic maybe?
You are right. I have to learn English :-(
usa (Usaku NAKAMURA)
02:05 PM Feature #11982: Rename test-sample
Usaku NAKAMURA wrote:
> Hiroshi SHIBATA wrote:
> ...
test-basic maybe?
Eregon (Benoit Daloze)
01:55 PM Feature #11982: Rename test-sample
Hiroshi SHIBATA wrote:
> It contains basically syntax tests, assigning tests, etc.
You've already found the suitable name.
test-basical is good enough, I think.
usa (Usaku NAKAMURA)
01:41 PM Feature #11982 (Closed): Rename test-sample
Ruby test suites named `make check` are following instructions.
* test
* test-sample
* btest-ruby
* test-knownbug
* test-testframework
* test-almost
`test-sample` invokes `sample/test.rb`. It name is sample, but it's...
hsbt (Hiroshi SHIBATA)
01:45 PM Bug #11973: IO#advise should raise NotImplementedError on platforms that do not support that call
I may have miscommunicated, so let me try to clarify. I think these should be the rules
1. If the platform supports posix_fadvise, then it should NOT raise NotImplementedError under any circumstances.
2. If the platform supports po...
cremes (Chuck Remes)
12:48 PM Bug #11980: External methods are appearing as instance methods for String
Those results were from IRB. Here's my results from a Ruby script.
"test_scope_creep.rb"
~~~ruby
puts "".methods.count
puts defined? "".a
def a
"foo"
end
puts "".methods.count
puts defined? "".a
puts String.private_metho...
danielpclark (Daniel P. Clark)
12:32 PM Bug #11980: External methods are appearing as instance methods for String
It's not just String.
~~~ruby
Array.instance_method(:a).owner
# => Object
~~~
danielpclark (Daniel P. Clark)
12:30 PM Bug #11980 (Closed): External methods are appearing as instance methods for String
It appears we're having methods creep into the String scope.
~~~ruby
"".methods.count
# => 170
defined? "".a
# => nil
def a
"foo"
end
"".methods.count
# => 171
defined? "".a
# => "method"
"bar".a
# => "foo"
~~~
danielpclark (Daniel P. Clark)
12:05 PM Revision 9efd4dbe (git): * common.mk: update URL and name for the Ruby spec suite.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
11:23 AM Revision 09cb46b9 (git): correction to proper word
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sorah (Sorah Fukumori)
11:19 AM Revision f425e0fc (git): * lib/forwardable.rb: Convert given accessors to String.
r53381 changed to accept only Symbol or String for accessors, but
there are several rubygems that pass classes (e.g. Array,
Hash, ...) as accessors. Prior r53381, it was accepted because Class#to_s
returns its class name. After r53...
sorah (Sorah Fukumori)
09:42 AM Revision 4a5d3572 (git): string.c: made a variable name more grammatically correct
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
09:38 AM Bug #11975: Range#last is not consistent and possibly does not do what is expected.
I haven't found this behaviour surprising at all. Maybe it’s because I'm
almost always using literal ranges and this lead me to think of
`Range#last` as “give me the last element of the range’s _definition_
(regardless of exclude_...
noniq (Stefan Daschek)
09:08 AM Bug #11975: Range#last is not consistent and possibly does not do what is expected.
Nakada-san, `(0.0...1.0).last` would probably give the same error as `(0.0...1.0).to_a`?
Marc, even though it's intentional, and even documented, it's still not obvious that this is desirable behaviour. What I did find, is an equivale...
ioquatix (Samuel Williams)
09:35 AM Revision f23658f1 (git): string.c: minor grammar fix [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
08:24 AM Revision 9835b48a (git): merge revision(s) 53346,53347,53348,53349: [Backport #11898]
* process.c: use rb_w32_uchdir() instead of plain chdir() on Windows.
reported by naruse via twitter.
* process.c (rb_execarg_addopt): need to convert to ospath.
* process.c (rb_execarg_parent_start1): need to...
naruse (Yui NARUSE)
08:24 AM Bug #11898: backport r53346-r53349
ruby_2_3 r53508 merged revision(s) 53346,53347,53348,53349,53391. naruse (Yui NARUSE)
07:44 AM Revision 42b809f2 (git): fix test to follow r53503
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:09 AM Revision dd80902f (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:09 AM Revision 92dc9e55 (git): test/ruby/enc/test_casing_options.rb: Tests for option
parsing/checking for upcase/downcase/capitalize/swapcase
(see r53503; with Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
07:03 AM Revision d956652d (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:03 AM Revision 2788cd98 (git): string.c: Added option parsing/checking for upcase/downcase/
capitalize/swapcase (with Kimihito Matsui
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
06:31 AM Bug #11978 (Closed): r53493 is also needed for ruby_2_3 branch
naruse (Yui NARUSE)
06:31 AM Bug #11978: r53493 is also needed for ruby_2_3 branch
ruby_2_3 r53502 merged revision(s) 53493. naruse (Yui NARUSE)
05:19 AM Bug #11978 (Closed): r53493 is also needed for ruby_2_3 branch
r53493 should be backported into ruby_2_3 branch.
I've already created the PR: https://github.com/ruby/ruby/pull/1193
mrkn (Kenta Murata)
06:22 AM Revision c0e208bc (git): merge revision(s) 53493: [Backport #11978]
* include/ruby/missing.h (explicit_bzero_by_memset_s): remove
inline implementation by memset_s, which needs a macro before
including headers and can cause problems in extension libraries
by the order of the...
naruse (Yui NARUSE)
01:51 AM Revision 3a7c12c2 (git): * 2016-01-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:51 AM Revision 242b1d8f (git): escape brackets
* configure.in: escape char class brackets in regexp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

01/11/2016

10:37 PM Bug #11974 (Closed): segmentation fault when executing rake doc:app
duerst (Martin Dürst)
07:40 PM Bug #11974: segmentation fault when executing rake doc:app
I have just checked and the problem doesn't happen with the latest version (ruby 2.4.0dev (2016-01-11 trunk 53498) [x86_64-linux]).
So, would you like to close this issue?
(Thanks.)
mfer2380 (Marcos Fernandez)
12:40 AM Bug #11974 (Feedback): segmentation fault when executing rake doc:app
Seems something broken in an IO object.
Can't you try with recent 2.2?
nobu (Nobuyoshi Nakada)
06:58 PM Bug #11973: IO#advise should raise NotImplementedError on platforms that do not support that call
On Sun, Jan 10, 2016 at 5:26 PM, <git@chuckremes.com> wrote:
> Issue #11973 has been reported by Chuck Remes.
>
> ----------------------------------------
> Bug #11973: IO#advise should raise NotImplementedError on platforms that d...
kosaki (Motohiro KOSAKI)
04:21 PM Bug #11977 (Closed): Bug with array literals caused by r53376
Hi,
I'm seeing a bug with the class name of array literals, and I believe it is caused by r53376 (reverting that commit seems to fix the issue).
The bug is that array literals will have the class name "ThreadSafe::Array" when I exp...
tenderlovemaking (Aaron Patterson)
03:06 PM Bug #11928 (Open): Segmentation fault in did_you_mean extension
With the just experimental patch, I didn't encounter SEGV.
I suspect about GC mark matter of T_IMEMO iseq, referenced by `NameError#local_variables`.
```diff
diff --git a/gc.c b/gc.c
index 874cb98..e34da14 100644
--- a/gc.c
+++ ...
wanabe (_ wanabe)
12:28 PM Revision eb86cd6b (git): include/ruby/oniguruma.h: Added flags needed for upcase/downcase
Unicode addition (with Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
06:52 AM Bug #11976 (Closed): Assigning to nil as a hash short-circuits without error.
Fixed at r53485. nobu (Nobuyoshi Nakada)
06:10 AM Bug #11976 (Closed): Assigning to nil as a hash short-circuits without error.
When assigning to nil as a hash, the RHS gets short-circuited, and the hash assignment on nil returns nil.
To reproduce:
~~~ruby
nil[:some_key] = undefined_method
# Expected: NameError: undefined local variable or method `undefined...
sergeim (Sergei Matheson)
02:33 AM Bug #11975: Range#last is not consistent and possibly does not do what is expected.
Range is not only for discrete values.
What will you expect for `(0.0...1.0).last`?
nobu (Nobuyoshi Nakada)
01:02 AM Bug #11975 (Rejected): Range#last is not consistent and possibly does not do what is expected.
This is intentional and documented:
"Note that with no arguments +last+ will return the object that defines the end of the range even if #exclude_end? is +true+."
Changing that would create incompatibilities that would far outweigh...
marcandre (Marc-Andre Lafortune)
12:50 AM Revision c97c37a5 (git): configure.in: check API version
* configure.in: check if the API version number is consistent with
the program version number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:01 AM Revision 948c7689 (git): * 2016-01-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:01 AM Revision d138a110 (git): io.h: remove old macros
* include/ruby/io.h (RB_IO_BUFFER_INIT, RB_IO_FPTR_NEW): remove
old macros only for internal use and obsolete since 2.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
 

Also available in: Atom