[Mono-list] Bug in Environment.TickCount

Paolo Molaro lupus at ximian.com
Mon Jul 23 04:54:36 EDT 2007


On 07/19/07 Thiago M. Sayão wrote:
> Enrironment.TickCount is supposed to return the miliseconds since the
> boot. For my surprise it was returning a negative number which should
> only happen on the 47th day of uptime.

I committed a fix to svn. Note that the negative numbers will
be returned after about 24 days.
Does anyone have a windows system running for more than that (chuckles)
and see if TickCount returns negative values or if the sign bit is
masked?

Thanks!

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better


More information about the Mono-list mailing list