[hafqa] [hafqa] [Bug 2877] Incorrect GPS timestamps reported over D-BUS

From: bugzilla-daemon at lists.maemo.org bugzilla-daemon at lists.maemo.org
Date: Sun Feb 3 02:16:28 EET 2008
https://bugs.maemo.org/show_bug.cgi?id=2877





------- Comment #2 from jhkukkon at cc.hut.fi  2008-02-03 02:16 GMT+3 -------
This is a leap year bug, and is fixed in gpsd 2.36. Things should work right
again after Feb 28th.

Still, here's a patch that seems to work:

diff --normal osso-gpsd-1.0-orig/gpsutils.c osso-gpsd-1.0/gpsutils.c
84a85,88
>     if ((year % 4) == 0 && ((year % 100) != 0 || (year % 400) == 0) &&
>        (t->tm_mon % MONTHSPERYEAR) < 2)
>             result--;
> 



Of course I can't be _sure_ it works since the last available source version is
 1.0-23 while the binary on OS2008 is 1.0-25.


-- 
Configure bugmail: https://bugs.maemo.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the hafqa mailing list