Commit fcc64c9f authored by Yukihiro Matsumoto's avatar Yukihiro Matsumoto

Merge branch 'master' of github.com:mruby/mruby

parents cac740c7 edee3f33
......@@ -339,7 +339,7 @@ sym_inspect(mrb_state *mrb, mrb_value sym)
memcpy(RSTRING(str)->ptr+1, name, len);
if (!symname_p(name) || strlen(name) != len) {
str = mrb_str_dump(mrb, str);
strncpy(RSTRING(str)->ptr, ":\"", 2);
memcpy(RSTRING(str)->ptr, ":\"", 2);
}
return str;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment