[#85940] [Ruby trunk Bug#14578] Forking a child process inside of a mutex crashes the ruby interpreter — ben.govero@...
Issue #14578 has been reported by bengovero (Ben Govero).
3 messages
2018/03/05
[#86205] [Ruby trunk Feature#14618] Add display width method to String for CLI — aycabta@...
Issue #14618 has been reported by aycabta (aycabta .).
3 messages
2018/03/19
[#86366] Re: [ruby-cvs:70102] usa:r63008 (trunk): get rid of test error/failure on Windows introduced at r62955 — Eric Wong <normalperson@...>
usa@ruby-lang.org wrote:
3 messages
2018/03/28
[ruby-core:86203] [Ruby trunk Bug#14206] Null-byte ignored inside class/module/method bodies
From:
nagachika00@...
Date:
2018-03-19 17:00:00 UTC
List:
ruby-core #86203
Issue #14206 has been updated by nagachika (Tomoyuki Chikanaga).
Backport changed from 2.3: REQUIRED, 2.4: REQUIRED to 2.3: REQUIRED, 2.4: DONE
ruby_2_4 r62847 merged revision(s) 61346.
----------------------------------------
Bug #14206: Null-byte ignored inside class/module/method bodies
https://bugs.ruby-lang.org/issues/14206#change-71098
* Author: grddev (Gustav Munkby)
* Status: Closed
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-darwin14]
* Backport: 2.3: REQUIRED, 2.4: DONE
----------------------------------------
I would have expected the following code to not be accepted by the Ruby parser, but instead it acts as if the zero-byte wasn't part of the string.
~~~ ruby
eval("def m\n\0end")
~~~
Changing to a block to start with begin
~~~ ruby
eval("begin\n\0end")
~~~
Produces the expected syntax error
~~~
SyntaxError: (eval):2: syntax error, unexpected end-of-input
~~~
--
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>