ruby-changes:24417
From: nobu <ko1@a...>
Date: Thu, 19 Jul 2012 21:23:09 +0900 (JST)
Subject: [ruby-changes:24417] nobu:r36468 (trunk): extmk.rb: hack for -framework
nobu 2012-07-19 21:21:49 +0900 (Thu, 19 Jul 2012) New Revision: 36468 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36468 Log: 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. Modified files: trunk/ext/extmk.rb Index: ext/extmk.rb =================================================================== --- ext/extmk.rb (revision 36467) +++ ext/extmk.rb (revision 36468) @@ -636,6 +636,7 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/