This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

cyg_ticks_to_timespec()


Hi,
I use elix ecos configuration.  In the
packages/compat/posix/current/src/time.cxx file
there is a  cyg_ticks_to_timespec() function. I think that in the function
there is a bug.
For example: for ticks=454 the function should calculate tv_sec=4
tv_nsec=0.54e9,
but it calculate  tv_sec=5  tv_nsec=3834967296.

Thanks in advance.
--
Boris Guzhov,
St.Petersburg, Russia






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]