[RTEMS Project] #2665: Convert _TOD_To_seconds to use mktime?
RTEMS trac
trac at rtems.org
Fri Mar 18 20:34:17 UTC 2016
#2665: Convert _TOD_To_seconds to use mktime?
---------------------------+------------------
Reporter: joel.sherrill | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.12
Component: cpukit | Version: 4.12
Severity: normal | Keywords:
---------------------------+------------------
Our implementation of _TOD_To_seconds uses our own math. Given that this
should be doing the equivalent of the POSIX method mktime(), I believe we
should switch to that as the implementation of this method. At a minimum,
this would ensure the implementation is correct. Worst case, it deletes
some code which is hard to be sure it is 100% correct from our code base.
--
Ticket URL: <http://devel.rtems.org/ticket/2665>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list