summaryrefslogtreecommitdiff
path: root/version.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-10 06:53:50 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-10 06:53:50 (GMT)
commit2a07423f9cb22672cc989b82afd61444dddba7df (patch)
tree3cee69a41f634c8b294e94624cbd913a11c9138c /version.c
parent16f09af48ba67239b13a6119de6c8cf1b0272c51 (diff)
* version.c (MKSTR): make US-ASCII. [ruby-dev:34010]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'version.c')
-rw-r--r--version.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/version.c b/version.c
index 1da1895..3a1d1fc 100644
--- a/version.c
+++ b/version.c
@@ -14,7 +14,7 @@
#include <stdio.h>
#define PRINT(type) puts(ruby_##type)
-#define MKSTR(type) rb_obj_freeze(rb_str_new(ruby_##type, sizeof(ruby_##type)-1))
+#define MKSTR(type) rb_obj_freeze(rb_usascii_str_new(ruby_##type, sizeof(ruby_##type)-1))
const char ruby_version[] = RUBY_VERSION;
const char ruby_release_date[] = RUBY_RELEASE_DATE;