* 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:
matz 2003-01-23 04:25:47 +00:00
Родитель affe49b23b
Коммит 259ba31d8a
2 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -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> Thu Jan 23 06:37:01 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* instruby.rb: should not contain destdir in shebang line. * instruby.rb: should not contain destdir in shebang line.

2
time.c
Просмотреть файл

@ -313,7 +313,7 @@ time_arg(argc, argv, tm, usec)
if (argc == 8) { if (argc == 8) {
/* v[6] is timezone, but ignored */ /* v[6] is timezone, but ignored */
} }
else { else if (argc == 7) {
*usec = obj2long(v[6]); *usec = obj2long(v[6]);
} }
} }