[ruby-cvs:54806] suke:r47658 (trunk): ext/win32ole/win32ole.c (rbtime2vtdate, vtdate2rbtime): fix

suke at ruby-lang.org suke at ruby-lang.org
Sun Sep 21 11:18:37 JST 2014


suke	2014-09-21 11:18:37 +0900 (Sun, 21 Sep 2014)

  New Revision: 47658

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47658

  Log:
    ext/win32ole/win32ole.c (rbtime2vtdate, vtdate2rbtime): fix
    the bug in conversion of milliseconds. [Bug #10258]
    
    test/win32ole/test_win32ole_variant.rb
    (test_conversion_dbl2date_with_msec,
    test_conversion_time2date_with_msec): use assert_in_delta instead
    of assert_equal to treat an acceptable error range.

  Modified files:
    trunk/ChangeLog
    trunk/ext/win32ole/win32ole.c
    trunk/test/win32ole/test_win32ole_variant.rb


More information about the ruby-cvs mailing list