summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rwxr-xr-xwin32/mkexports.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/mkexports.rb b/win32/mkexports.rb
index 6808a38ea0..40f055dee7 100755
--- a/win32/mkexports.rb
+++ b/win32/mkexports.rb
@@ -26,7 +26,7 @@ class Exports
def self.output(output = $output, &block)
if output
- open(output, 'wb', &block)
+ File.open(output, 'wb', &block)
else
yield STDOUT
end