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

* ruby.c (set_arg0): reverted used variable definition.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2008-06-01 18:52:15 +00:00
parent 9c13fc7d89
commit 8f05f7fe05
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Mon Jun 2 03:52:04 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ruby.c (set_arg0): reverted used variable definition.
Mon Jun 2 03:23:25 2008 NARUSE, Yui <naruse@ruby-lang.org>
* enc/gb18030.c (gb18030_mbc_to_code): mask by 0x7FFFFFFF

1
ruby.c
View file

@ -1390,6 +1390,7 @@ set_arg0(VALUE val, ID id)
memcpy(origarg.argv[0], s, i);
{
int j;
char *t = origarg.argv[0] + i;
*t = '\0';