Project

General

Profile

« Previous | Next » 

Revision 6957898a

Added by U.Nakamura over 9 years ago

  • time.c (wdiv, wmod): wdivmod0() assumes the 3rd and the 4th arguments
    are valid pointers.
    maybe checking them in wdivmod0() is better manner, but I guess that
    passing real dummy pointers may be faster than checking and branching
    in wdivmod0().
    this commit fixes SEGV on 32bit and LLP64 platforms.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e