Project

General

Profile

Activity

From 09/29/2017 to 10/05/2017

10/05/2017

10:29 PM Bug #13841: Segmentation fault in Ruby CFUNC :to_s
I get this somewhat inconsistently when running chef-solo on ubuntu 16.04.
Ruby version ruby 2.3.5p376 (2017-09-14...
thaynel2 (Thayne McCombs)
10:17 PM Bug #13921: buffered read_nonblock doesn't work as expected using SSLSocket
rhenium, thank you for the link to the openssl issue, I just tested, and I can confirm that it solves the issue! Inde... chucke (Tiago Cardoso)
09:53 PM Revision e810b5c9 (git): * 2017-10-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:53 PM Revision 0d2ab887 (git): webrick: avoid unnecessary IO#sync= call
Sockets and pipes are always created with FMODE_SYNC flag
already set (otherwise many things would be broken).
* lib...
Eric Wong
09:48 PM Feature #13979 (Rejected): Ruby doesn't give error on keyword arguments that you can't refer to
You can't use keywords as names for normal arguments. For example all of these give a syntax error:
~~~ruby
def f...
asterite (Ary Borenszweig)
09:26 PM Feature #5964: Make Symbols an Alternate Syntax for Strings
avit (Andrew Vit) wrote:
> methods like `:a + :b` or `:c.upcase` make no sense.
They do make sense though. In fac...
Ajedi32 (Ajedi32 W)
08:00 PM Feature #5964: Make Symbols an Alternate Syntax for Strings
sheerun (Adam Stankiewicz) wrote:
> Did it change since ruby got frozen string? Is there much difference between fro...
avit (Andrew Vit)
06:21 PM Feature #5964: Make Symbols an Alternate Syntax for Strings
matz (Yukihiro Matsumoto) wrote:
> In Ruby, Symbols annd Strings are different in both semantics and behavior (and i...
sheerun (Adam Stankiewicz)
08:38 PM Bug #13978: Remove Bundler from StdLib
hsbt (Hiroshi SHIBATA) wrote:
> >Bundler was merged directly into StdLib on the grounds of "Rubygems itself is going...
vo.x (Vit Ondruch)
10:09 AM Bug #13978 (Rejected): Remove Bundler from StdLib
>Bundler was merged directly into StdLib on the grounds of "Rubygems itself is going to depend on bundler." but that ... hsbt (Hiroshi SHIBATA)
08:55 AM Bug #13978 (Rejected): Remove Bundler from StdLib
While I acknowledge people are using Bundler and it provides valuable services, I hate to point out that Bundler was ... vo.x (Vit Ondruch)
06:19 PM Feature #7792: Make symbols and strings the same thing
@shyouhei @matz Could this be revisited as ruby now has frozen strings? They behave pretty much the same as symbols.
...
sheerun (Adam Stankiewicz)
11:17 AM Bug #13976 (Closed): SyntaxError if curly brace block follows args without parentheses, introduced in 2.4.2
matz (Yukihiro Matsumoto)
08:01 AM Bug #13976: SyntaxError if curly brace block follows args without parentheses, introduced in 2.4.2
sorry, duplicate of https://bugs.ruby-lang.org/issues/13939
feel free to delete this ticket.
janosch-x (Janosch Müller)
07:58 AM Bug #13976 (Closed): SyntaxError if curly brace block follows args without parentheses, introduced in 2.4.2
```ruby
# ruby 2.4.1
p :bar do end # => :bar
p :bar {} # => :bar
# ruby 2.4.2
p :bar do end # => :bar
p :bar ...
janosch-x (Janosch Müller)
10:44 AM Feature #12115: Add Symbol#call to allow to_proc shorthand with arguments
> Wouldn't Array#to_proc make sense?
For me, it looks confusing. Array is (usually) a set of _homogenous_ objects,...
zverok (Victor Shepelev)
03:35 AM Feature #12115: Add Symbol#call to allow to_proc shorthand with arguments
Wouldn't Array#to_proc make sense?
```ruby
class Array
def to_proc
proc { |x| x.__send__(*self) }
end
...
knu (Akinori MUSHA)
10:24 AM Feature #12648: `Enumerable#sort_by` with descending option
Another path could be to introduce the sense of "reversed object".
I don't yet have a good name for the method tha...
knu (Akinori MUSHA)
10:00 AM Feature #12648: `Enumerable#sort_by` with descending option
Something like this can be a solution for sorting with multiple keys with separate ordering directions.
```ruby
m...
knu (Akinori MUSHA)
10:11 AM Bug #13977 (Rejected): 0 should be treated as FALSE
Anon92929 (Anon Ymous) wrote:
> 0 is false, 1 is true.
Every programming language has its own convention. For exa...
duerst (Martin Dürst)
08:46 AM Bug #13977 (Rejected): 0 should be treated as FALSE
0 is false, 1 is true.
It is beyond stupidity that this even needs to be addressed. Fix this please.
Anon92929 (Anon Ymous)
08:32 AM Bug #13975 (Closed): standard library になった bundler で bundle gem を実行できない
Applied in changeset trunk|r60122.
----------
Fixed broken `bundle gem` command.
This patch is provided by @gyugy...
hsbt (Hiroshi SHIBATA)
06:09 AM Bug #13975 (Assigned): standard library になった bundler で bundle gem を実行できない
報告ありがとうございます。再現を確認しました。
パッチですが、rbinstall.rb の変更だけ問題ないか確認してマージしようと思います。
hsbt (Hiroshi SHIBATA)
05:30 AM Bug #13975 (Closed): standard library になった bundler で bundle gem を実行できない
https://github.com/ruby/ruby/pull/1710
Ruby 2.5.0 から bundler が standard library となるようですが、
現在の standard library とし...
gyugyu (Yusuke Yagyu)
08:32 AM Revision 5b3d137b (git): Fixed broken `bundle gem` command.
This patch is provided by @gyugyu (Yusuke Yagyu)
* Remove README* entry from no_install that there is no README* f...
hsbt (Hiroshi SHIBATA)
06:33 AM Bug #13962: Change http://unicode.org to https
normalperson (Eric Wong) wrote:
> Regardless of HTTPS or not; can we keep known-good
> SHA-256/384/512/whatever...
duerst (Martin Dürst)
05:51 AM Bug #13962: Change http://unicode.org to https
[email protected] wrote:
> Just an intermediate report: HTTPS is available only since
> about a week, and the...
normalperson (Eric Wong)
02:45 AM Bug #13962: Change http://unicode.org to https
Just an intermediate report: HTTPS is available only since about a week, and the Unicode Consortium wants to check th... duerst (Martin Dürst)
02:56 AM Misc #13974 (Closed): Make sure Unicode files are only downloaded once, not repeatedly, for continuous integration
People from the Unicode Consortium pointed out to me that we shouldn't repeatedly download the Unicode data files for... duerst (Martin Dürst)
02:35 AM Revision 09e60b5a (git): io.c: [DOC] about buffering [ci skip]
* io.c (rb_file_initialize): [DOC] stated that non-tty file is
buffered by the default, and added links to related ...
nobu (Nobuyoshi Nakada)
02:01 AM Bug #13973 (Closed): super_method fails on some UnboundMethods
`super_method` fails to go up the ancestry chain for methods that are only defined in included modules:
~~~ ruby
...
marcandre (Marc-Andre Lafortune)
01:53 AM Bug #13971 (Closed): Ripper changes sexp - class methods
Applied in changeset trunk|r60120.
----------
parse.y: fix KWD2EID
* parse.y (KWD2EID): should respect the previous...
nobu (Nobuyoshi Nakada)
01:53 AM Revision 80855409 (git): parse.y: fix KWD2EID
* parse.y (KWD2EID): should respect the previous callback result
for keywords. [ruby-core:83106] [Bug #13971]
git...
nobu (Nobuyoshi Nakada)
01:43 AM Revision d002f230 (git): Fixed invalid gemspec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
01:30 AM Revision 5146c363 (git): * 2017-10-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:30 AM Revision a6ac6e00 (git): Followed up [ruby-core:83093]. Update gemspec attributes.
Added metadata for rubygems.org.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60117 b2dd03c8-39d4-4d8f-98ff-823...
hsbt (Hiroshi SHIBATA)

10/04/2017

08:47 PM Bug #13972 (Closed): [PATCH] document File.{setuid?,setgid?,sticky?} support for IO objects
Supporting bare IO objects which do not respond to #to_path
was accidentally introduced in r60108, but it seems harm...
normalperson (Eric Wong)
05:52 PM Bug #13965: Surprising behavior when using Tempfile.open
Could a small documentation blurb alleviate future headaches for other users?
If the docs had said something like...
davemyron (Dave Myron)
03:19 PM Bug #13971 (Closed): Ripper changes sexp - class methods
nobu, thank you for the fixes. I apologize; I missed some in the 1st report.
Code:
```ruby
# frozen_string_lit...
MSP-Greg (Greg L)
01:29 PM Bug #13970 (Rejected): Base64 urlsafe_decode64 unsafe use of tr.
A lot of the base64 module lacks duck typing or nice errors.
For example the `urlsafe_decode64` function never che...
shanna (Shane Hanna)
11:11 AM Feature #13969 (Closed): Dir#each_child
Dir has class method pairs: `Dir.entries` / `Dir.children`, `Dir.foreach` / `Dir.each_child`.
But instance method is...
znz (Kazuhiro NISHIYAMA)
08:19 AM Bug #13906: homepage in gemspec
It seems better to link to the place where the development of these libraries happen. Eregon (Benoit Daloze)
03:01 AM Bug #13906: homepage in gemspec
I don't understand, what's wrong with homepage being ruby-lang.org? shyouhei (Shyouhei Urabe)
06:53 AM Feature #13936: Make regular expressions debugable
shevegen (Robert A. Heiler) wrote:
> I remember that I ran into encoding-related problems with regexes which were ...
duerst (Martin Dürst)
02:26 AM Feature #13936: Make regular expressions debugable
Trunk version (with TOC):
https://msp-greg.github.io/ruby_trunk/Core/Regexp.html
MSP-Greg (Greg L)
06:47 AM Revision 2afb729f (git): parse.y: fix var_field
* parse.y (mlhs_node): dispatch var_field as well as lhs.
* parse.y (lhs, var_hs): dispatch var_field before assigna...
nobu (Nobuyoshi Nakada)
06:41 AM Bug #13966: configure.in still needed ?!
nobu (Nobuyoshi Nakada) wrote:
> By running `./config.status`, Makefile should be updated.
I get the following ou...
duerst (Martin Dürst)
06:21 AM Misc #13968: [Ruby 3.x perhaps] - A (minimal?) static variant of ruby
Looking at common.mk, there are various places with the text "static". I'm not an expert in makefiles, but static com... duerst (Martin Dürst)
05:48 AM Revision 3be41283 (git): parse.y: reserved words as <id>
* parse.y (reswords): declare reserved words as <id> to remove
extra cast.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
05:30 AM Revision b17a16c2 (git): test_sexp.rb: test for fname
* test/ripper/test_sexp.rb (test_def_fname): test for fname in def
statement. [ruby-core:83089] [Bug #13967]
git-...
nobu (Nobuyoshi Nakada)
04:43 AM Bug #13967 (Closed): Recent Ripper changes, sexp broken?
Applied in changeset trunk|r60113.
----------
parse.y: Revert r60102
* parse.y (op): do not set event ID here to di...
nobu (Nobuyoshi Nakada)
04:43 AM Revision 8e03b79e (git): parse.y: Revert r60102
* parse.y (op): do not set event ID here to dispatch on_op.
[ruby-core:83089] [Bug #13967]
git-svn-id: svn+ssh://c...
nobu (Nobuyoshi Nakada)
12:05 AM Feature #13958 (Closed): [PATCH] Dir.empty? releases GVL
Applied in changeset trunk|r60111.
----------
Dir.empty? releases GVL
This converts all slow syscalls in the Dir.em...
Anonymous
12:04 AM Revision 1ff78c78 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:04 AM Revision 1e14126b (git): Dir.empty? releases GVL
This converts all slow syscalls in the Dir.empty? implementation
to release GVL. We avoid unnecessarily GVL release ...
Eric Wong

10/03/2017

11:58 PM Feature #13936: Make regular expressions debugable
I am inclined to agree with Martin. In general introspection is awesome; I remember many years ago having used Steve ... shevegen (Robert A. Heiler)
11:48 PM Feature #13963 (Closed): [PATCH] file.c: release GVL around lstat(2)
Applied in changeset trunk|r60110.
----------
file.c: release GVL around lstat(2)
Like stat(2), lstat(2) can be exp...
Anonymous
11:47 PM Revision fbb34327 (git): file.c: release GVL around lstat(2)
Like stat(2), lstat(2) can be expensive on slow filesystems and
should not block other threads. There should be a mi...
Eric Wong
11:47 PM Revision 15edf2b3 (git): * 2017-10-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:47 PM Revision 27cced70 (git): file.c: release GVL in File.{setuid?,setgid?,sticky?}
* file.c (check3rdbyte): use rb_stat to release GVL
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60108 b2dd03c8...
Eric Wong
10:21 PM Feature #13697: [PATCH]: futex based thread primitives
[email protected] wrote:
> https://bugs.ruby-lang.org/issues/13697
> Assigning to kosaki since he wrote the cu...
normalperson (Eric Wong)
08:42 PM Misc #13968 (Open): [Ruby 3.x perhaps] - A (minimal?) static variant of ruby
Hello ruby core team and everyone else,
I think this has been brought up before, in one way or the other, but
jus...
shevegen (Robert A. Heiler)
07:24 PM Bug #13967 (Closed): Recent Ripper changes, sexp broken?
With some recent changes, (svn 60103 +), Ripper.sexp has changed. With 60103 +, the second lex shown below no longer... MSP-Greg (Greg L)
01:18 PM Bug #13956: Segmentation fault when calling Method#using with a non-module argument and block
`using` は top level (`main`) の特異メソッド (と `Module#using`) なので、`Object` のインスタンスメソッドより優先されるため、上書きするなら `def self.using` にす... znz (Kazuhiro NISHIYAMA)
01:06 PM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
I object the current behavior which prints backtrace in reverse order for STDERR. It is confusing. sonots (Naotoshi Seo)
12:36 PM Bug #13966: configure.in still needed ?!
By running `./config.status`, Makefile should be updated.
nobu (Nobuyoshi Nakada)
09:04 AM Bug #13966 (Closed): configure.in still needed ?!
When compiling trunk on cygwin, I get the following error:
```
make[2]: Entering directory '/cygdrive/c/Data/ruby...
duerst (Martin Dürst)
12:06 PM Revision 5f6b0422 (git): Fix leaked file descriptor
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
07:51 AM Revision 7f6e18fa (git): test_parser_events.rb: backref_assign_error
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:56 AM Revision 1ef2ca5a (git): parse.y: extract callback results
* parse.y: stripping wrapping NODEs from ripper callback results,
when storing in Array objects. NODEs must not ap...
nobu (Nobuyoshi Nakada)
04:47 AM Revision 75318f31 (git): parse.y: set ripper event IDs to keyword variables
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:44 AM Bug #13965 (Rejected): Surprising behavior when using Tempfile.open
Yes, it's a nature of buffering. nobu (Nobuyoshi Nakada)
12:17 AM Bug #13965: Surprising behavior when using Tempfile.open
To workaround the unexpected behavior, either use `IO#sync = true` or `IO#flush` after writing to the file. davemyron (Dave Myron)
12:12 AM Bug #13965: Surprising behavior when using Tempfile.open
This appears to be the behavior of `File.open` + block, as well:
```
>> File.open("/tmp/test.txt","w+"){|f| (1..1...
davemyron (Dave Myron)
12:03 AM Bug #13965 (Rejected): Surprising behavior when using Tempfile.open
I was trying to write the contents of an array to a Tempfile using the #open() + block syntax: Tempfile.open { |f| my... davemyron (Dave Myron)
01:38 AM Revision 3efbda77 (git): * 2017-10-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:38 AM Revision e8e5a450 (git): parse.y: set ripper event ID symbols to operators
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

10/02/2017

08:09 PM Feature #13958: [PATCH] Dir.empty? releases GVL
[email protected] wrote:
> https://bugs.ruby-lang.org/issues/13958

Updated with benchmark:
https://80x24.or...
normalperson (Eric Wong)
01:11 PM Bug #13962: Change http://unicode.org to https
shevegen (Robert A. Heiler) wrote:
> Secure our emojis! \o/
Yeah, I've lost a few nights' sleep worrying about th...
MSP-Greg (Greg L)
03:15 AM Bug #13962: Change http://unicode.org to https
Secure our emojis! \o/ shevegen (Robert A. Heiler)
01:03 AM Bug #13962: Change http://unicode.org to https
MSP-Greg (Greg L) wrote:
> I believe downloads from unicode.org can be done via https.
Yes, that seems to be the ...
duerst (Martin Dürst)
12:23 PM Revision 4fb1438b (git): use rb_hash_new_with_size()
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:43 AM Revision 54869839 (git): test_call.rb: refine test_safe_call
* test/ruby/test_call.rb (test_safe_call): rhs should not be
evaluated when the receiver is nil. simplified the as...
nobu (Nobuyoshi Nakada)
10:14 AM Bug #13917 (Assigned): Comparable#clamp is slower than using Array#min,max.
The main topic "Comparable#clamp is slower than using Array#min,max." is valid.
@nobu Could you check the patch?
naruse (Yui NARUSE)
08:33 AM Bug #13964 (Closed): [BUG] Stack consistency error
Applied in changeset trunk|r60099.
----------
compile.c: fix stack consitency error
* compile.c (iseq_compile_each0...
nobu (Nobuyoshi Nakada)
05:51 AM Bug #13964 (Closed): [BUG] Stack consistency error
You get "[BUG] Stack consistency error" when you run attached 'bug_repro.rb'.
If you change line 44 in the script
...
md1961 (Naoyuki Kumagai)
08:33 AM Revision 896e7f2d (git): compile.c: fix stack consitency error
* compile.c (iseq_compile_each0): fix stack consitency error on
attr-assign with safe navigation operator when the ...
nobu (Nobuyoshi Nakada)
07:51 AM Revision f5740d18 (git): Revert "vm_eval.c: add rb_yield_assoc_or_values()"
This reverts commit r60095 to prevent performance degradation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@600...
Glass_saga (Masaki Matsushita)
06:46 AM Bug #13960 (Closed): ARGF.inplace_mode= が SHARABLE_MIDDLE_SUBSTRING=1 を考慮していない
Applied in changeset trunk|r60097.
----------
io.c: check null char
* io.c (ruby_set_inplace_mode): check if null i...
nobu (Nobuyoshi Nakada)
06:46 AM Revision 8148b701 (git): io.c: check null char
* io.c (ruby_set_inplace_mode): check if null is contained. based
on the patch by tommy (Masahiro Tomita) in [ruby...
nobu (Nobuyoshi Nakada)
06:46 AM Revision 85847e78 (git): test_argf.rb: indent here docs
* test/ruby/test_argf.rb (assert_src_expected): default line
number to caller's location.
* test/ruby/test_argf.rb...
nobu (Nobuyoshi Nakada)
05:29 AM Revision 7ae65b24 (git): vm_eval.c: add rb_yield_assoc_or_values()
The new function rb_yield_assoc_or_values() will reduce branching.
* vm_eval.c: add rb_yield_assoc_or_values()
* in...
Glass_saga (Masaki Matsushita)
04:06 AM Revision 487dfb9d (git): ruby-additional.el: shorten here-doc markers
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:57 AM Revision da4f041e (git): use `ra` instead of new variables.
* file.c (rb_file_s_rename): `struct rename_args ra` already has members
which contain C ptrs. Pointed by MSP-Greg....
ko1 (Koichi Sasada)
01:22 AM Revision d0566062 (git): catch up r60088 for DOSISH.
* file.c (rb_file_s_rename): src and dst are used only on DOSISH env.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
ko1 (Koichi Sasada)

10/01/2017

10:06 PM Feature #13963 (Closed): [PATCH] file.c: release GVL around lstat(2)
Like stat(2), lstat(2) can be expensive on slow filesystems and
should not block other threads. There should be a m...
normalperson (Eric Wong)
09:29 PM Feature #13951 (Closed): [PATCH] File#rename releases GVL
Applied in changeset trunk|r60091.
----------
NEWS: entries for GVL release in File and Dir
(more to come)
* NEWS:...
Anonymous
12:43 PM Feature #13951: [PATCH] File#rename releases GVL
normalperson (Eric Wong) wrote:
> I consider the performance trade off acceptable as cases are avoided.
I agree t...
nobu (Nobuyoshi Nakada)
04:08 AM Feature #13951: [PATCH] File#rename releases GVL
[email protected] wrote:
> https://bugs.ruby-lang.org/issues/13951

Updated v2 with casts for 64-bit:

http...
normalperson (Eric Wong)
09:29 PM Revision 6c29f232 (git): NEWS: entries for GVL release in File and Dir
(more to come)
* NEWS: updates for [Bug #13941] and [Feature #13951]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
Eric Wong
09:19 PM Revision 4e602696 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:19 PM Revision 2270eb56 (git): * 2017-10-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:19 PM Revision e552afc3 (git): File#rename releases GVL
rename(2) requires two pathname resolution operations which can
take considerable time on slow filesystems, release t...
Eric Wong
08:10 PM Bug #13962 (Closed): Change http://unicode.org to https
I believe downloads from unicode.org can be done via https.
See attached patch.
Thank you.
MSP-Greg (Greg L)
03:01 PM Bug #13961 (Closed): String#unpack の warning メッセージが SHARABLE_MIDDLE_SUBSTRING=1 を考慮していない
String#unpack で不正なディレクティブが指定された時のwarningメッセージが指定文字列ではなくNUL終端まで出力してしまいます。
```
% ruby -we '"hoge".unpack(("o"*100)[...
tommy (Masahiro Tomita)
02:24 PM Bug #13960 (Closed): ARGF.inplace_mode= が SHARABLE_MIDDLE_SUBSTRING=1 を考慮していない
SHARABLE_MIDDLE_SUBSTRING=1 でコンパイルしたRubyで、ARGF.inplace_mode= がNUL終端まで文字列を使用してしまいます。
```
% echo hoge > hoge
% rub...
tommy (Masahiro Tomita)
01:44 PM Revision f01846cd (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:44 PM Revision 8320be10 (git): string.c: avoid unnecessary call of str_strlen()
* string.c (rb_strseq_index): refactor and avoid
call of str_strlen() when offset == 0.
it will improve performan...
Glass_saga (Masaki Matsushita)
05:36 AM Bug #13959 (Rejected): IO.write(filename, Marshal.dump(obj), :encoding => 'binary') != File.open(filename, 'wb') { |fil| Marshal.dump(obj, fil) }
For some complex objects,
IO.write(filename, Marshal.dump(obj), :encoding => 'binary') and File.open(filename...
fitmap (Justin Peal)
04:26 AM Revision 8875e0ca (git): use rb_hash_new_with_size()
* hash.c: use rb_hash_new_with_size().
* marshal.c: ditto
* struct.c: ditto
* vm_args.c: ditto
git-svn-id: svn+ss...
Glass_saga (Masaki Matsushita)
04:24 AM Feature #13958 (Closed): [PATCH] Dir.empty? releases GVL
This converts all slow syscalls in the Dir.empty? implementation
to release GVL. We avoid unnecessarily GVL release...
normalperson (Eric Wong)
03:46 AM Revision cb0f3183 (git): common.mk (UNICODE_DOWNLOAD): set cache directory
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:39 AM Revision 213fa8ec (git): generic_erb.rb: -i option
* tool/generic_erb.rb: -i option to merge multiple template files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
02:36 AM Bug #13794: Infinite loop of sched_yield
[email protected] wrote:
> But I might have found a different bug. I did kill -ABRT a
> spinning child and gav...
normalperson (Eric Wong)
02:27 AM Bug #13957 (Closed): readline が SHARABLE_MIDDLE_SUBSTRING=1 を考慮していない
nobu (Nobuyoshi Nakada)
02:26 AM Bug #13955 (Closed): NKF.nkf のオプション文字列が SHARABLE_MIDDLE_SUBSTRING=1 を考慮していない
nobu (Nobuyoshi Nakada)
02:25 AM Bug #13954 (Closed): Etc.getpwnam, getgrnam が SHARABLE_MIDDLE_SUBSTRING=1 を考慮していない
nobu (Nobuyoshi Nakada)
02:24 AM Revision 2eb23675 (git): test_refinement.rb: test for r59946
* test/ruby/test_refinement.rb (test_dsym_literal): test for
r59946, interning dynamic symbol should not be affecte...
nobu (Nobuyoshi Nakada)
01:44 AM Revision dbb55956 (git): file.c: remove unnecessary volatile use
For apply2files, all callers use the `path' VALUE for
generating exceptions, so there is no need to guard it.
In real...
Eric Wong

09/30/2017

10:08 PM Bug #13794: Infinite loop of sched_yield
[email protected] wrote:
> Anyone can use Gregory's sched_yield_loop.rb to check for the
> bug. If the weaker ...
normalperson (Eric Wong)
09:50 PM Bug #13794 (Closed): Infinite loop of sched_yield
Applied in changeset trunk|r60079.
----------
thread_pthread.c: do not wakeup inside child processes
* thread_pthre...
Anonymous
03:21 AM Bug #13794: Infinite loop of sched_yield
Gregory Potamianos wrote:
> `while true; do nice -n19 ruby sched_yield_loop.rb; [ $? -ne 0 ] && break; done`
With...
kernigh (George Koehler)
10:04 PM Feature #13946: Rename configure.in to configure.ac
kernigh (George Koehler) wrote:
> I had an old Makefile before I pulled this change (rename configure.in to configur...
nobu (Nobuyoshi Nakada)
12:26 AM Feature #13946: Rename configure.in to configure.ac
I had an old Makefile before I pulled this change (rename configure.in to configure.ac). The old Makefile can't find ... kernigh (George Koehler)
09:50 PM Revision 000169c5 (git): * 2017-10-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:50 PM Revision b860f064 (git): thread_pthread.c: do not wakeup inside child processes
* thread_pthread.c (rb_thread_wakeup_timer_thread): check
ownership before incrementing
(rb_thread_wakeup_timer_t...
Eric Wong
02:33 PM Bug #13957 (Closed): readline が SHARABLE_MIDDLE_SUBSTRING=1 を考慮していない
SHARABLE_MIDDLE_SUBSTRING=1 でコンパイルしたRubyで、Readline.insert_text の文字列が正しく扱われません。
```
% ruby -rreadline -e 'p Readli...
tommy (Masahiro Tomita)
01:14 PM Revision 8efc4132 (git): hash.c: use rb_hash_new_with_size()
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Glass_saga (Masaki Matsushita)
12:53 PM Feature #13395: Add a method to check for not nil
I believe the english equivalent to `not_nil` would be `exist` (instead of exists, to follow prev use). I believe co... MSP-Greg (Greg L)
05:44 AM Feature #13395: Add a method to check for not nil
I think `Array#nitems` is like this. But it was removed since ruby 1.9.1.
In doc/NEWS-1.9.1:
> o Array#nitems w...
znz (Kazuhiro NISHIYAMA)
12:26 PM Bug #13956 (Closed): Segmentation fault when calling Method#using with a non-module argument and block
Applied in changeset trunk|r60077.
----------
eval.c: check type
* eval.c (ignored_block): check argument type, whi...
nobu (Nobuyoshi Nakada)
11:32 AM Bug #13956 (Closed): Segmentation fault when calling Method#using with a non-module argument and block
Module#usingをモジュールでない引数とブロックをつけて呼び出すとクラッシュします。
再現プログラムは以下です。
~~~ ruby
def using(x)
yield x
end
using(1)...
minoritea (Minori Tokuda)
12:26 PM Revision 327b22ad (git): eval.c: check type
* eval.c (ignored_block): check argument type, which must be
Module. [ruby-dev:50270] [Bug #13956]
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
11:58 AM Revision c879b601 (git): hash.c: remove special treatments on deletion
st.c was improved in r56650 that it permits deletion during iteration.
In this commit, special treatments for previou...
Glass_saga (Masaki Matsushita)
11:50 AM Revision e7c8073a (git): dbm.c: suppress unused-but-set-variable warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:06 AM Revision c0a58759 (git): gdbm.c: use the default external encoding
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:27 AM Revision 7f2fd38b (git): configure.ac: remove --enable-pthread option.
* configure.ac: remove --enable-pthread option.
it was obsoleted in 2009.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
Glass_saga (Masaki Matsushita)
09:07 AM Revision 1b7e9704 (git): dbm.c: removed useless assignments
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:35 AM Bug #13953 (Closed): gdbm が SHARABLE_MIDDLE_SUBSTRING=1 を考慮していない
Applied in changeset trunk|r60071.
----------
ext: check if null byte is contained
[ruby-dev:50267] [Bug #13953]
nobu (Nobuyoshi Nakada)
04:37 AM Bug #13953 (Closed): gdbm が SHARABLE_MIDDLE_SUBSTRING=1 を考慮していない
SHARABLE_MIDDLE_SUBSTRING=1 でコンパイルしたRubyで、GDBM.new が指定した文字列ではなく共有元の文字列終端までファイル名として使用してしまいます。
~~~
% ruby -rgdbm -e...
tommy (Masahiro Tomita)
08:35 AM Revision 1852b4a8 (git): ext: check if null byte is contained
[ruby-dev:50267] [Bug #13953]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60071 b2dd03c8-39d4-4d8f-98ff-823fe6...
nobu (Nobuyoshi Nakada)
08:01 AM Bug #13955 (Closed): NKF.nkf のオプション文字列が SHARABLE_MIDDLE_SUBSTRING=1 を考慮していない
SHARABLE_MIDDLE_SUBSTRING=1 でコンパイルしたRubyで、NKF.nkf のオプション文字列が正しく扱われません。
```
% ruby -rnkf -e 'opt="--ic=UTF-8 --oc=...
tommy (Masahiro Tomita)
07:23 AM Bug #13954 (Closed): Etc.getpwnam, getgrnam が SHARABLE_MIDDLE_SUBSTRING=1 を考慮していない
SHARABLE_MIDDLE_SUBSTRING=1 でコンパイルしたRubyで Etc.getpwnam, getgrnam が共有元の文字列終端まで使用してしまいます。
```
% sudo useradd abcdef...
tommy (Masahiro Tomita)
06:45 AM Revision d00c9d7e (git): configure.ac: remove unused macro
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Glass_saga (Masaki Matsushita)
06:42 AM Revision 3ca9f25b (git): ripper/lexer.rb: remove double quotes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:30 AM Revision 9189cf57 (git): configure.ac: use m4_version_prereq
* configure.ac: use m4_version_prereq to check
running autoconf version.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
Glass_saga (Masaki Matsushita)
03:31 AM Revision 917bc687 (git): test_find.rb: improve branch coverage
* test/test_find.rb (test_to_path): add a test
for to_path conversion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
ktsj (Kazuki Tsujimoto)
12:01 AM Bug #13952 (Closed): String#succ not updating code range
Applied in changeset trunk|r60066.
----------
string.c: fix ASCII-only on succ
* string.c (str_succ): clear coderan...
nobu (Nobuyoshi Nakada)
12:01 AM Revision 16759238 (git): string.c: fix ASCII-only on succ
* string.c (str_succ): clear coderange cache when no alpha-numeric
character case, carried part may become ASCII-on...
nobu (Nobuyoshi Nakada)

09/29/2017

11:41 PM Revision 623cf297 (git): sizes.c.tmpl: prototype
* template/sizes.c.tmpl (Init_limits): turned a K&R style
declaration into a prototype declaration.
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
05:19 PM Revision da7303e5 (git): * 2017-09-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:19 PM Revision b5b2bd86 (git): test_etc.rb: fix test_getgrnam for duplicated group names
* test/etc/test_etc.rb: Etc.getgrnam would not return the first entry in the order of Etc.group for duplicated group ... sonots (Naotoshi Seo)
01:46 PM Bug #13952 (Closed): String#succ not updating code range
I'm seeing some strange behavior with `String#succ` and updating code ranges. I haven't yet traced the code to see wh... nirvdrum (Kevin Menard)
01:21 PM Feature #13946 (Closed): Rename configure.in to configure.ac
Applied in changeset trunk|r60062.
----------
configure.ac
* configure.ac: renamed configure.in. [Feature #13946]
...
nobu (Nobuyoshi Nakada)
03:32 AM Feature #13946: Rename configure.in to configure.ac
[email protected] wrote:
> trunk is currently using `configure.in` - so i would like to
> propose we renam...
normalperson (Eric Wong)
12:33 AM Feature #13946: Rename configure.in to configure.ac
If there are no side effects of problems then this may be fine. I can't say
though since I know next to nothing abou...
shevegen (Robert A. Heiler)
01:21 PM Revision 3133a5c9 (git): configure.ac
* configure.ac: renamed configure.in. [Feature #13946]
* Makefile.in, common.mk, ext/rbconfig/sizeof/depend: use
...
nobu (Nobuyoshi Nakada)
11:00 AM Feature #13943 (Closed): Use unpack1 instead of unpack(template)[0] in erb.rb
Applied in changeset trunk|r60061.
----------
Use unpack1 instead of unpack and `[0]`
[Feature #13943][ruby-core:83...
Anonymous
11:00 AM Revision 5723d9fd (git): Use unpack1 instead of unpack and `[0]`
[Feature #13943][ruby-core:83027]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60061 b2dd03c8-39d4-4d8f-98ff-82...
znz (Kazuhiro NISHIYAMA)
10:20 AM Bug #13794: Infinite loop of sched_yield
Hi,
We are also affected by this bug, running Debian's ruby 2.3.3p222. We are encountering it with Exec resources ...
gregoryp (Gregory Potamianos)
08:54 AM Feature #13951 (Closed): [PATCH] File#rename releases GVL
rename(2) requires two pathname resolution operations which can
take considerable time on slow filesystems, release ...
normalperson (Eric Wong)
08:16 AM Bug #13950 (Closed): String#tr incorrectly marks strings as CR_7BIT
Applied in changeset trunk|r60060.
----------
string.c: ASCII-incompatible is not ASCII only
* string.c (tr_trans):...
nobu (Nobuyoshi Nakada)
08:15 AM Revision 2d421199 (git): string.c: ASCII-incompatible is not ASCII only
* string.c (tr_trans): ASCII-incompatible encoding strings cannot
be ASCII-only even if valid. [ruby-core:83056] [...
nobu (Nobuyoshi Nakada)
08:00 AM Bug #13949 (Closed): String#unpack with 'M' directive can create strings with wrong code range
Applied in changeset trunk|r60059.
----------
pack.c: unpack "M" may be ASCII only
* pack.c (pack_unpack_internal):...
nobu (Nobuyoshi Nakada)
08:00 AM Revision d35b5a47 (git): pack.c: unpack "M" may be ASCII only
* pack.c (pack_unpack_internal): set ASCII only properly on "M",
may be ASCII only. [ruby-core:83055] [Bug #13949]...
nobu (Nobuyoshi Nakada)
07:43 AM Feature #13884 (Closed): Reduce number of memory allocations for "and", "or" and "diff" operations on small arrays
Applied in changeset trunk|r60057.
----------
array.c: improve operations on small arrays
[Feature #13884]
Reduce ...
nobu (Nobuyoshi Nakada)
07:43 AM Revision b455b839 (git): * 2017-09-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:43 AM Revision 9bc73cd8 (git): array.c: improve operations on small arrays
[Feature #13884]
Reduce number of memory allocations for "and", "or" and "diff"
operations on small arrays
Very oft...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom