diff options
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/leaked-globals | 2 | ||||
-rwxr-xr-x | tool/update-deps | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tool/leaked-globals b/tool/leaked-globals index e079b0efc5..be2e377118 100755 --- a/tool/leaked-globals +++ b/tool/leaked-globals @@ -55,7 +55,7 @@ IO.foreach("|#{NM} #{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_|coroutine_)/ =~ n + next if /\A(?:Init_|InitVM_|RUBY_|ruby_|rb_|yp_|[Oo]nig|dln_|coroutine_)/ =~ n next if REPLACE.include?(n) puts col.fail("leaked") if count.zero? count += 1 diff --git a/tool/update-deps b/tool/update-deps index 5e241aa819..09c5b5e133 100755 --- a/tool/update-deps +++ b/tool/update-deps @@ -173,7 +173,7 @@ def in_makefile(target, source) target = target.to_s source = source.to_s case target - when %r{\A[^/]*\z}, %r{\Acoroutine/} + when %r{\A[^/]*\z}, %r{\Acoroutine/}, %r{\Ayarp/} target2 = "#{target.sub(/\.o\z/, '.$(OBJEXT)')}" case source when *FILES_IN_SOURCE_DIRECTORY then source2 = "$(top_srcdir)/#{source}" |