From f0810814bd9bbb4226ba55bb7e9e1f46d9fe2067 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 19 Jul 2012 12:21:49 +0000 Subject: extmk.rb: hack for -framework * ext/extmk.rb (mf.macro): replace NULs with spaces also in exts.mk which is used when dissable-shared. fix r36437. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/extmk.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/extmk.rb') diff --git a/ext/extmk.rb b/ext/extmk.rb index 587bfadce0..e3685d0c7d 100755 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -636,6 +636,7 @@ if $configure_only and $command_output w = w0 = name.size + 2 h = " \\\n" + "\t" * (w / 8) + " " * (w % 8) values.each do |s| + s = s.tr("\0", " ") if s.size + w > max print h w = w0 -- cgit v1.2.3