[#82706] [Ruby trunk Bug#13851] getting "can't modify string; temporarily locked" on non-frozen instances — cardoso_tiago@...
Issue #13851 has been updated by chucke (Tiago Cardoso).
3 messages
2017/09/07
[#82853] [Ruby trunk Bug#13916] Race condition when sending a signal to a new fork — russell.davis@...
Issue #13916 has been reported by russelldavis (Russell Davis).
3 messages
2017/09/19
[#82892] [Ruby trunk Bug#13921] buffered read_nonblock doesn't work as expected using SSLSocket — cardoso_tiago@...
Issue #13921 has been updated by chucke (Tiago Cardoso).
3 messages
2017/09/20
[ruby-core:82730] [Ruby trunk Bug#13744] Spawn doesn't work with options of symbol keys generated dynamically
From:
nagachika00@...
Date:
2017-09-10 02:58:28 UTC
List:
ruby-core #82730
Issue #13744 has been updated by nagachika (Tomoyuki Chikanaga).
Backport changed from 2.2: REQUIRED, 2.3: DONE, 2.4: REQUIRED to 2.2: REQUIRED, 2.3: DONE, 2.4: DONE
ruby_2_4 r59809 merged revision(s) 59322,59325.
----------------------------------------
Bug #13744: Spawn doesn't work with options of symbol keys generated dynamically
https://bugs.ruby-lang.org/issues/13744#change-66571
* Author: satoryu (Tatsuya Sato)
* Status: Closed
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: ruby 2.5.0dev (2017-07-13 trunk 59321) [x86_64-darwin16]
* Backport: 2.2: REQUIRED, 2.3: DONE, 2.4: DONE
----------------------------------------
spawn works when giving options whose key is symbol literal:
~~~
$ ruby -e 'spawn("ls", :rlimit_cpu => 100)'
~~~
But spawn fails when generating symbol from a String:
~~~
$ ruby -e 'spawn("ls", "rlimit_cpu".to_sym => 100)'
-e:1:in `spawn': wrong exec option symbol: rlimit_cpu (ArgumentError)
from -e:1:in `<main>'
~~~
--
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>