Avoid testing dates near or after 2038, because the qof parsing functions fail.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12308 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Chris Shoemaker 2006-01-09 21:06:45 +00:00
parent 6e66d8e154
commit 8f7fbc0f9e

View File

@ -400,6 +400,10 @@ run_test (void)
ts.tv_nsec /= 1000;
ts.tv_nsec *= 1000;
/* We just can't handle dates whose time_t doesn't fit in int. */
if (ts.tv_sec > (0x7fffffff - 3600*25))
continue;
if (!check_time (ts, FALSE))
return;
}