From b9b1e3afefaf268a7a379582e3a3b36d10be5685 Mon Sep 17 00:00:00 2001 From: richard Date: Mon, 13 Sep 1999 09:18:56 +0000 Subject: [PATCH] Fix year 2001 bug git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4885 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 4 +++- Source/NSDate.m | 4 ---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 63a969749..61602a575 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@ Mon Sep 13 6:45:00 1999 Richard Frith-Macdonald - Miscellaneous minor bugfixes plyus, + Miscellaneous minor bugfixes plus, + * Source/NSDate.m: Year 2001 bug fixed - had silly assertion in + generation of time interval since reference date for current time. * Source/NSScanner.m: optimised (well, mostly). * Headers/Foundation/NSScanner.h: update for optimisatio). diff --git a/Source/NSDate.m b/Source/NSDate.m index 1a5a0d01e..47c454ca2 100644 --- a/Source/NSDate.m +++ b/Source/NSDate.m @@ -118,10 +118,6 @@ GSTimeNow() gettimeofday (&tp, NULL); interval += tp.tv_sec; interval += (double)tp.tv_usec / 1000000.0; - - /* There seems to be a problem with bad double arithmetic... */ - NSCAssert(interval < 0, NSInternalInconsistencyException); - return interval; #else SYSTEMTIME sys_time;