[Bug 2135] times() and _times() are subject to integer overflows
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Tue Jul 30 14:19:19 UTC 2013
https://www.rtems.org/bugzilla/show_bug.cgi?id=2135
--- Comment #2 from Joel Sherrill <joel.sherrill at oarcorp.com> 2013-07-30 09:19:19 CDT ---
(In reply to comment #1)
> (In reply to comment #0)
> > The clock_t type is defined as unsigned long for RTEMS in Newlib. With a 1ms
> > clock tick an overflow happens after 7 days on 32-bit long targets.
>
> I mean 7 weeks.
CentOS 6.4 has this has clock_t as __clock_t which appears to be a long int.
So no better.
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list