diff --git a/ChangeLog b/ChangeLog index 2d224153fd..a73b51812b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Fri Sep 8 16:36:27 2006 NAKAMURA Usaku + + * ext/extmk.rb (extmake): follow Array#to_s. + + * lib/mkmf.rb (create_makefile): ditto. + + * win32/resource.rb: ditto. + Fri Sep 8 10:00:12 2006 GOTOU Yuuzou * lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookies): new diff --git a/ext/extmk.rb b/ext/extmk.rb index a9fad432bd..2e17d05959 100644 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -155,7 +155,7 @@ def extmake(target) ok = yield(ok) if block_given? unless ok open(makefile, "w") do |f| - f.print dummy_makefile(CONFIG["srcdir"]) + f.print *dummy_makefile(CONFIG["srcdir"]) end return true end diff --git a/lib/mkmf.rb b/lib/mkmf.rb index fb66d0cdec..e336b6ecd5 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -1390,7 +1390,7 @@ site-install-rb: install-rb unless suffixes.empty? mfile.print ".SUFFIXES: .", suffixes.uniq.join(" ."), "\n\n" end - mfile.print *depout + mfile.print *depout.flatten else headers = %w[ruby.h defines.h] if RULE_SUBST diff --git a/win32/resource.rb b/win32/resource.rb index 35b987cad4..e8c3ed88c7 100644 --- a/win32/resource.rb +++ b/win32/resource.rb @@ -60,7 +60,7 @@ end #include #endif -#{icons || ''} +#{icons ? icons.join : ''} VS_VERSION_INFO VERSIONINFO FILEVERSION #{fversion} PRODUCTVERSION #{fversion}