| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
regex.c has been removed in 8e65234086a15f90585bc09cce82dbad2aa647d7
|
|
|
|
|
| |
`rb_exc_raise` and `rb_fatal` func have similar code(in `eval.c`).
I think that better cut out and replace these code like `rb_exc_exception`
function.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add test cases for Enumerable#tally with hash argument
* Add ruby/spec for Enumerable#tally with hash argument
* Fix Enumerable#tally does not update given frozen hash
* Add test cases for Enumerable#tally with hash convertible arguments
* Fix SEGV when Enumerable#tally takes non Hash convertible
* FIx cosmetic damage enum.c
|
| |
|
| |
|
| |
|
|
|
|
| |
https://github.com/ruby/erb/commit/03bc4a8274
|
|
|
|
| |
https://github.com/ruby/erb/commit/b40db4114a
|
| |
|
|
|
|
| |
These files should have been downloaded in update-remote.
|
|
|
|
| |
https://github.com/ruby/irb/commit/612ebcb311
|
| |
|
|
|
|
| |
As some encodings need the corresponding header.
|
|
|
|
|
| |
Define no dependency unless ALWAYS_UPDATE_UNICODE is set to yes,
so that `make prog` works in a just-checkedout working directory.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, if there were ignored frames (iseq without pc), we could
go beyond the requested start frame. This has two changes:
1) Ensure that we don't look beyond the start frame by using
last_cfp = RUBY_VM_PREVIOUS_CONTROL_FRAME(last_cfp) until the
desired start frame is reached.
2) To fix the failures caused by change 1), which occur when a
limited number of frames is requested, scan the VM stack before
allocating backtrace frames, looking for ignored frames. This
is complicated if there are ignored frames before and after
the start, in which case we need to scan until the start frame,
and then scan backwards, decrementing the start value until we
get to the point where start will result in the number of
requested frames.
This fixes a Rails test failure. Jean Boussier was able to
to produce a failing test case outside of Rails.
Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
|
| |
|
| |
|
|
|
| |
a.out format is considered extinct nowadays.
|
| |
|
|
|
|
|
|
| |
is empty
https://github.com/ruby/reline/commit/c6f1164942
|
|
|
|
| |
https://github.com/ruby/reline/commit/1f469de90c
|
|
|
|
| |
https://github.com/ruby/reline/commit/da90c094a1
|
|
|
|
| |
https://github.com/ruby/reline/commit/43ac03c624
|
|
|
|
|
|
|
| |
https://github.com/ruby/actions/runs/2175399707?check_suite_focus=true
```
Errno::EACCES: Permission denied @ dir_s_mkdir - /home/runner/.config/irb
```
|
|
|
|
| |
https://github.com/ruby/irb/commit/1c61178b4c
|
|
|
|
| |
https://github.com/ruby/irb/commit/d9f8abc17e
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
IV index tables weren't being freed. This program would leak memory:
```ruby
loop do
k = Class.new do
def initialize
@a = 1
@b = 1
@c = 1
@d = 1
@e = 1
@f = 1
@g = 1
end
end
k.new
end
```
This commit fixes the leak.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The platform defines a constant File::TMPFILE, but it seems unavailable
(maybe depending on the file system?).
http://rubyci.s3.amazonaws.com/scw-9d6766/ruby-master/log/20210322T171707Z.fail.html.gz
This change adds some rescue cluases to the test, copied from
test/ruby/test_file.rb.
|
|
|
|
|
|
|
|
| |
... of test_many_fibers_with_threads because the test seems to take
about 180 sec. on Solaris. This change extends the limit to 300 sec on
Solaris.
BTW, 180 sec. is too long for other normal environments, so this reverts
Related to 6ab7d439f8d43234004e1760aa88a98c29129006 for them.
|
|
|
|
|
|
|
|
| |
Get rid of warnings in the parallel test.
```
unknown command: "Switch to inspect mode."
```
|
| |
|
| |
|
|
|
|
| |
using proper link register and frame pointer which equal x30/x29.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
If called with an autoloaded encoding that was not yet
initialized, `rb_enc_interned_str` would crash with
a NULL pointer exception.
See: https://github.com/ruby/ruby/pull/4119#issuecomment-800189841
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Means the platform with the actual CPU info on universal binary.
The CPU in "arch" is fixed as "universal" to refer the header and
library paths.
|