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): Correct the position of #endif.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2002-08-12 13:39:22 +00:00
parent 1f99d95729
commit 510c93caac
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Mon Aug 12 22:29:35 2002 Akinori MUSHA <knu@iDaemons.org>
* ruby.c (set_arg0): Correct the position of #endif.
Mon Aug 12 16:15:37 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> Mon Aug 12 16:15:37 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* bignum.c (rb_big_cmp): raise for NaN. (ruby-bugs-ja:PR#284). * bignum.c (rb_big_cmp): raise for NaN. (ruby-bugs-ja:PR#284).

2
ruby.c
View file

@ -939,8 +939,8 @@ set_arg0(val, id)
for (i = 1; i < origargc; i++) for (i = 1; i < origargc; i++)
origargv[i] = 0; origargv[i] = 0;
} }
#endif
rb_progname = rb_tainted_str_new2(origargv[0]); rb_progname = rb_tainted_str_new2(origargv[0]);
#endif
} }
void void