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

* time.c (time_arg): nil test against v[6] (usec).

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2002-05-29 05:22:02 +00:00
parent 15e3bac623
commit b1de4f25e2
3 changed files with 6 additions and 1 deletions

View file

@ -16,6 +16,10 @@ Tue May 28 12:13:37 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* node.h (NEW_DASGN, NEW_DASGN_CURR): remove surplus semicolons.
Fri May 24 09:06:29 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* time.c (time_arg): nil test against v[6] (usec).
Thu May 23 14:52:32 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* ruby.c (proc_options): -v should not print version if

1
eval.c
View file

@ -2908,6 +2908,7 @@ rb_eval(self, n)
ruby_errinfo = Qnil;
ruby_sourceline = nd_line(node);
ruby_in_eval++;
rb_dvar_push(0, 0);
list->nd_head = compile(list->nd_head->nd_lit,
ruby_sourcefile,
ruby_sourceline);

2
file.c
View file

@ -267,7 +267,7 @@ rb_stat_inspect(self)
{
VALUE str;
int i;
struct {
static struct {
char *name;
VALUE (*func)();
} member[] = {