[#85349] [Ruby trunk Bug#14334] Segmentation fault after running rspec (ruby/2.5.0/erb.rb:885 / simplecov/source_file.rb:85) — pragtob@...
Issue #14334 has been updated by PragTob (Tobias Pfeiffer).
3 messages
2018/02/02
[#85358] Re: [ruby-cvs:69220] nobu:r62039 (trunk): compile.c: unnecessary freezing — Eric Wong <normalperson@...>
nobu@ruby-lang.org wrote:
5 messages
2018/02/03
[#85612] Why require autoconf 2.67+ — leam hall <leamhall@...>
Please pardon the intrusion; I am new to Ruby and like to pull the
6 messages
2018/02/17
[#85634] [Ruby trunk Bug#14494] [PATCH] tool/m4/ruby_replace_type.m4 use AC_CHECK_TYPES for HAVE_* macros — normalperson@...
Issue #14494 has been reported by normalperson (Eric Wong).
3 messages
2018/02/19
[#85674] [Ruby trunk Feature#13618] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid — matz@...
Issue #13618 has been updated by matz (Yukihiro Matsumoto).
5 messages
2018/02/20
[#85686] Re: [Ruby trunk Feature#13618] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
— Eric Wong <normalperson@...>
2018/02/20
matz@ruby-lang.org wrote:
[#85704] Re: [Ruby trunk Feature#13618] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
— Koichi Sasada <ko1@...>
2018/02/21
On 2018/02/20 18:06, Eric Wong wrote:
[ruby-core:85322] [Ruby trunk Bug#14193][Third Party's Issue] --enable-frozen-string-literal and rubygems, erb, & rdoc
From:
hsbt@...
Date:
2018-02-01 08:34:05 UTC
List:
ruby-core #85322
Issue #14193 has been updated by hsbt (Hiroshi SHIBATA). Status changed from Open to Third Party's Issue Assignee set to hsbt (Hiroshi SHIBATA) A patch of rubygems was merged by the upstream repository. ---------------------------------------- Bug #14193: --enable-frozen-string-literal and rubygems, erb, & rdoc https://bugs.ruby-lang.org/issues/14193#change-70108 * Author: MSP-Greg (Greg L) * Status: Third Party's Issue * Priority: Normal * Assignee: hsbt (Hiroshi SHIBATA) * Target version: * ruby -v: ruby 2.5.0dev (2017-12-16 trunk 61295) [x64-mingw32] * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN ---------------------------------------- A popular gem that I use for my doc site doesn’t currently test against MinGW trunk, but I’ve got a PR there for that. Noticed that the current CI’s were failing, and took a look. One could debate the practicality of doing so, but for 2.4 and trunk, `--enable-frozen-string-literal` was set in `RUBYOPT`. The builds were failing in RubyGems while setting up the test environment. That took me to my fork of rubygems/rubygems, which led me back to trunk. Attached are three patch files that are required for ‘runner.rb’ testing to pass on rdoc & rubygems folders when `--enable-frozen-string-literal` is used. Notes: RubyGems - I believe its tests run against the files in the src directory, but it needs the other patches in the app directory to pass. RDoc - I used `“”.dup` for an unfrozen string, not sure if `String.new` is preferred or better. ERB - I haven’t worked with or debugged bindings that much, but I started looking at the bindings passed from RDoc, and when I added a begin/rescue to look at the string variables in them, all the tests for RDoc passed. Seems odd... Thanks, Greg PS - I use markdown a lot, may look odd in email. Don't know how many people use email vs browser... ---Files-------------------------------- frozen_rubygems.patch (462 Bytes) frozen_rdoc.patch (1.25 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>