summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-29 21:00:02 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-29 21:00:16 +0900
commitb7163c712c376fd8dc01a5e3bdd44f02ae578001 (patch)
treebc500571b1b816b314687f8cf31fc03540944cbe /tool
parent208192fdb6aa8ea7fb5a70cc2ed517cb11d346b9 (diff)
Canonicalization functions were removed already
At b958e2add835d62c0a62edaf9a23ecbbd70a3635
Diffstat (limited to 'tool')
-rwxr-xr-xtool/leaked-globals2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/leaked-globals b/tool/leaked-globals
index 7ed81b1361..d95f3794e8 100755
--- a/tool/leaked-globals
+++ b/tool/leaked-globals
@@ -49,7 +49,7 @@ IO.foreach("|#{NM} -Pgp #{ARGV.join(' ')}") do |line|
next unless /[A-TV-Z]/ =~ t
next unless n.sub!(/^#{SYMBOL_PREFIX}/o, "")
next if n.include?(".")
- next if /\A(?:Init_|InitVM_|RUBY_|ruby_|rb_|[Oo]nig|dln_|mjit_|coroutine_|nu(?:comp|rat)_)/ =~ n
+ next if /\A(?:Init_|InitVM_|RUBY_|ruby_|rb_|[Oo]nig|dln_|mjit_|coroutine_)/ =~ n
next if REPLACE.include?(n)
puts col.fail("leaked") if count.zero?
count += 1