summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-30 07:48:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-30 07:48:52 +0000
commitfd8323072678d42891f097e2992189ae27cfcf5f (patch)
treecc458867d62165bc00274eefd1f1b5c40ce088b5 /tool
parentd06f74d736311f128f5303a995cf01071531a6f4 (diff)
* tool/compile_prelude.rb: use US-ASCII name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rw-r--r--tool/compile_prelude.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/compile_prelude.rb b/tool/compile_prelude.rb
index 72cf961..e0a011c 100644
--- a/tool/compile_prelude.rb
+++ b/tool/compile_prelude.rb
@@ -77,8 +77,8 @@ Init_<%=init_name%>(void)
{
% lines_list.each_with_index {|(setup_lines, lines), i|
rb_iseq_eval(rb_iseq_compile(
- rb_str_new(prelude_code<%=i%>, sizeof(prelude_code<%=i%>) - 1),
- rb_str_new(prelude_name<%=i%>, sizeof(prelude_name<%=i%>) - 1),
+ rb_usascii_str_new(prelude_code<%=i%>, sizeof(prelude_code<%=i%>) - 1),
+ rb_usascii_str_new(prelude_name<%=i%>, sizeof(prelude_name<%=i%>) - 1),
INT2FIX(<%=1-setup_lines.length%>)));
% }