
35136e1e9c232ad7a03407b992b2e86b6df43f63 is broken with `gcc-11 annocheck`. Its configuration is here: https://git.ruby-lang.org/ruby.git/tree/.github/workflows/compilers.yml#n82 failures are: ``` 69 1) An exception occurred during: Kernel#require_relative with a relative path (file extensions) does not load a C-extension file if a complex-extensioned .rb file is already loaded 70 /__w/ruby/ruby/src/spec/ruby/core/kernel/require_relative_spec.rb:197 71 Kernel#require_relative with a relative path (file extensions) does not load a C-extension file if a complex-extensioned .rb file is already loaded ERROR 72 LeakError: Leaked file descriptor: 8 : #<File:/__w/ruby/ruby/src/spec/ruby/fixtures/code/load_fixture.ext.rb> 73 /__w/ruby/ruby/src/spec/ruby/core/kernel/require_relative_spec.rb:4:in `<top (required)>' 74 75 2) 76 An exception occurred during: Kernel#require_relative with a relative path ($LOADED_FEATURES) stores an absolute path 77 /__w/ruby/ruby/src/spec/ruby/core/kernel/require_relative_spec.rb:205 78 Kernel#require_relative with a relative path ($LOADED_FEATURES) stores an absolute path ERROR 79 LeakError: Closed file descriptor: 8 80 /__w/ruby/ruby/src/spec/ruby/core/kernel/require_relative_spec.rb:4:in `<top (required)>' (snip) 3835 files, 31411 examples, 161010 expectations, 0 failures, 14 errors, 0 tagged 171 make: *** [uncommon.mk:896: yes-test-spec] Error 1 ``` On Mon, Feb 27, 2023 at 5:57 AM Eric Wong via ruby-core <ruby-core@ml.ruby-lang.org> wrote:
"nobu (Nobuyoshi Nakada) via ruby-core" <ruby-core@ml.ruby-lang.org> wrote:
Issue #19465 has been updated by nobu (Nobuyoshi Nakada). https://bugs.ruby-lang.org/issues/19465#change-102042
Seems fine.<THUMBS UP SIGN>
``` OK, thanks, committed as 35136e1e9c232ad7a03407b992b2e86b6df43f63 Hopefully I didn't break anything for win32.
Btw, to display your emoji as ASCII in my text terminal with limited glyphs, I had use the following Perl script. Not sure if there's a way to do this with Ruby stdlib: --------8<------ eval 'exec perl -w -S $0 ${1+"$@"}' if 0; # running under some shell use v5.12; use charnames (); use Encode qw(find_encoding); binmode STDIN, ':utf8'; binmode STDOUT, ':utf8'; my $enc_ascii = find_encoding('us-ascii'); my $fallback = sub { join('', map { if ($_ == 0xfe0f) { # VARIATION SELECTOR-16 ''; } elsif (defined(my $name = charnames::viacode($_))) { "<$name>" } else { sprintf('<#0x%x>', $_); } } @_); }; while (<STDIN>) { print $enc_ascii->encode($_, $fallback) } ``` ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org...
-- SHIBATA Hiroshi shibata.hiroshi@gmail.com http://www.hsbt.org/