summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-17 21:34:24 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-17 21:34:24 +0000
commit9312426c1ea240c4a2e938976d3f4c8f2f155e6a (patch)
treeeba2b8562ed583c5a4da91a291029667941c2590
parent0cb17717fe3ce324376255efb759fdf8f94e0929 (diff)
* lib/mkmf.rb (create_header): open in binmode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--lib/mkmf.rb2
-rw-r--r--version.h4
3 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index c4da5ff2fe7..ce512b4d321 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Sep 18 06:34:21 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * lib/mkmf.rb (create_header): open in binmode.
+
Thu Sep 17 18:34:19 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* gc.c (vm_xrealloc): free as like standard free if size is zero.
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index 5e9d646e4c2..c83b54a1a45 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -1272,7 +1272,7 @@ def create_header(header = "extconf.h")
hdr << "#endif\n"
hdr = hdr.join
unless (IO.read(header) == hdr rescue false)
- open(header, "w") do |hfile|
+ open(header, "wb") do |hfile|
hfile.write(hdr)
end
end
diff --git a/version.h b/version.h
index 93fd9167fde..632df780ab8 100644
--- a/version.h
+++ b/version.h
@@ -1,5 +1,5 @@
#define RUBY_VERSION "1.9.2"
-#define RUBY_RELEASE_DATE "2009-09-17"
+#define RUBY_RELEASE_DATE "2009-09-18"
#define RUBY_PATCHLEVEL -1
#define RUBY_BRANCH_NAME "trunk"
@@ -8,7 +8,7 @@
#define RUBY_VERSION_TEENY 1
#define RUBY_RELEASE_YEAR 2009
#define RUBY_RELEASE_MONTH 9
-#define RUBY_RELEASE_DAY 17
+#define RUBY_RELEASE_DAY 18
#include "ruby/version.h"