Thread
:
N900 clock replacement [continued]
View Single Post
Raimu
2013-11-08 , 12:19
Posts: 139 | Thanked: 181 times | Joined on Nov 2011 @ Oulu, Finland
#
450
Hiya. I found a bug: when selecting an alarm time and the yellow banner appears to tell you the remaining time until the alert, I received a funny message: "Time left until alarm 9:60"
It was supposed to say 10:00.
Based on a conversation on IRC's #maemo-ssu, there is probably an ill-conceived clock check code that asks for time more than once and as a result gets confused during specific situations.
Quoting from the channel:
"this happens when coder doesn't obey one of golden rules: always call timing/metering functions only once, in an atomic way, then parse result and store to local vars [...] never call a readout function of a dynamic value multiple times. You always call it once and store the returned value to a local var"
Quote & Reply
|
The Following 5 Users Say Thank You to Raimu For This Useful Post:
AapoRantalainen
,
Estel
,
foobar
,
sixwheeledbeast
,
Wikiwide
Raimu
View Public Profile
Send a private message to Raimu
Find all posts by Raimu