1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* object.c (rb_obj_inspect): merge from 1.7: remove useless space.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2001-08-11 14:10:23 +00:00
parent fb6245957e
commit b3abedee46
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Sat Aug 11 23:08:01 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* object.c (rb_obj_inspect): merge from 1.7: remove useless space.
Tue Aug 7 09:12:55 2001 Usaku Nakamura <usa@ruby-lang.org>
* win32/win32.h: fix problems with BC++ (ruby-bugs#PR161).

View file

@ -210,7 +210,7 @@ rb_obj_inspect(obj)
return str;
}
str = rb_str_new(0, strlen(c)+6+16+1); /* 6:tags 16:addr 1:eos */
sprintf(RSTRING(str)->ptr, "-<%s:0x%lx ", c, obj);
sprintf(RSTRING(str)->ptr, "-<%s:0x%lx", c, obj);
RSTRING(str)->len = strlen(RSTRING(str)->ptr);
return rb_protect_inspect(inspect_obj, obj, str);
}