mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* time.c (time_arg): initialize v[6] even when argc is 10 to
avoid valgrind error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f34b15e5d2
commit
41e018a46d
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Jun 23 13:45:30 2003 Tanaka Akira <akr@m17n.org>
|
||||
|
||||
* time.c (time_arg): initialize v[6] even when argc is 10 to
|
||||
avoid valgrind error.
|
||||
|
||||
Sat Jun 21 23:15:08 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* eval.c (proc_invoke): should not propagate distination tag if
|
||||
|
|
1
time.c
1
time.c
|
@ -249,6 +249,7 @@ time_arg(argc, argv, tm, usec)
|
|||
v[3] = argv[2];
|
||||
v[4] = argv[1];
|
||||
v[5] = argv[0];
|
||||
v[6] = Qnil;
|
||||
tm->tm_isdst = RTEST(argv[8]) ? 1 : 0;
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Reference in a new issue