>> You could use it as an example of how to do it right. > Er, *what*?
Fix the code. Do it right and cleanly. Add a comment pointing to the page with a full description of the whole mess. Have that page point back there as an example of how to fix the GPS week roll over problem. It's not as simple as if (week < xx) week += 1024 That only works for 20 years. You need something like: while (week < xx) week += 1024 -- These are my opinions. I hate spam. _______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel