summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"