From 6f4d89c3462ad943ee2cf69aaa92a304b32ffa35 Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 3 Dec 2001 10:07:48 +0000 Subject: * time.c (time_plus): must detect result overflow. * time.c (time_minus): ditto. * time.c (time_new_internal): round usec overflow and underflow here. * time.c (time_plus): move operand overflow/underflow check to time_new_internal(). * time.c (time_minus): ditto. * time.c (time_cmp): should consider tv_usec too. * time.c (time_gmtime): time_modify() should be called even if tm struct is not calculated yet. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 1df1d6296..d978c35d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,22 @@ Mon Dec 3 16:04:16 2001 Usaku Nakamura * configure.in: not use X11BASE, since it's not always set. +Mon Dec 3 09:59:08 2001 Yukihiro Matsumoto + + * time.c (time_plus): must detect result overflow. + + * time.c (time_minus): ditto. + + * time.c (time_new_internal): round usec overflow and underflow + here. + + * time.c (time_plus): move operand overflow/underflow check to + time_new_internal(). + + * time.c (time_minus): ditto. + + * time.c (time_cmp): should consider tv_usec too. + Mon Dec 3 03:32:22 2001 Usaku Nakamura * configure.in: apply patch from NetBSD's pkgsrc (patch-aa). @@ -20,6 +36,11 @@ Sun Dec 2 22:01:52 2001 WATANABE Hirofumi * ext/dbm/extconf.rb: check if $CFLAGS includes DBM_HDR. +Sat Dec 1 12:13:20 2001 Yukihiro Matsumoto + + * time.c (time_gmtime): time_modify() should be called even if tm + struct is not calculated yet. + Fri Nov 30 17:02:55 2001 WATANABE Hirofumi * configure.in: set target_cpu to i386 on cygwin and mingw32. @@ -13145,4 +13166,3 @@ Fri Aug 15 19:40:43 1997 WATANABE Hirofumi Wed Aug 13 17:51:46 1997 Yukihiro Matsumoto * version 1.1 alpha0 released. - -- cgit