diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-01-23 04:25:47 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-01-23 04:25:47 +0000 |
commit | 259ba31d8a9bde12f412ba500d80180022d7416e (patch) | |
tree | 8e3665710f9f78798286c5c0fcdde687f2511cf1 /time.c | |
parent | affe49b23b9295ec30d50c363686324038d09158 (diff) | |
download | ruby-259ba31d8a9bde12f412ba500d80180022d7416e.tar.gz |
* 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
Diffstat (limited to 'time.c')
-rw-r--r-- | time.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]); } } |