зеркало из https://github.com/github/ruby.git
* 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:
Родитель
affe49b23b
Коммит
259ba31d8a
|
@ -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]);
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче