summaryrefslogtreecommitdiffstats
path: root/win32/mkexports.rb
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-10-30 09:23:14 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-10-30 09:23:14 +0000
commitc51e711808b1005f3a7d3031db0ba1abd2db25c8 (patch)
treef468705a2f8829736a52fa6c5286fa32f2b14e76 /win32/mkexports.rb
parent20d323310053fd443ec3bac68515232d391b98a8 (diff)
downloadruby-c51e711808b1005f3a7d3031db0ba1abd2db25c8.tar.gz
ruby-c51e711808b1005f3a7d3031db0ba1abd2db25c8.tar.xz
ruby-c51e711808b1005f3a7d3031db0ba1abd2db25c8.zip
* win32/mkexports.rb: follow the change of rb_io_puts().
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/mkexports.rb')
-rw-r--r--win32/mkexports.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/mkexports.rb b/win32/mkexports.rb
index faf342b2c..f8205d9df 100644
--- a/win32/mkexports.rb
+++ b/win32/mkexports.rb
@@ -24,7 +24,7 @@ exports << "Description " + $description.dump if $description
exports << "EXPORTS" << SYM.keys.sort
if $output
- open($output, 'w') {|f| f.puts exports}
+ open($output, 'w') {|f| f.puts exports.join("\n")}
else
- puts exports
+ puts exports.join("\n")
end