mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* time.c (time_arg): was accessing garbage argv value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
affe49b23b
commit
259ba31d8a
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Thu Jan 23 13:24:18 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* time.c (time_arg): was accessing garbage argv value.
|
||||
|
||||
Thu Jan 23 06:37:01 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||
|
||||
* instruby.rb: should not contain destdir in shebang line.
|
||||
|
|
2
time.c
2
time.c
|
@ -313,7 +313,7 @@ time_arg(argc, argv, tm, usec)
|
|||
if (argc == 8) {
|
||||
/* v[6] is timezone, but ignored */
|
||||
}
|
||||
else {
|
||||
else if (argc == 7) {
|
||||
*usec = obj2long(v[6]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue