[ntp:hackers] Fixing date/epoch overflow

Terje Mathisen terje.mathisen at hda.hydro.com
Sun Jan 4 13:35:38 PST 2004


Harlan Stenn wrote:

> Terje,
> 
> Would you be able to take a look at ntp's bugzilla bug 46?
> 
>  http://bugzilla.ntp.org/show_bug.cgi?id=46

I've spent some time with this problem, and after some spelunking I 
realized that we're actually using the library time_t to struct tm 
conversion routines in lots of places, which means that this is the 
place to implement any epoch overflow handling.

By now I've modified several files, not just the caljulian.c, and I'm 
getting to the point where I need to upload my fixes:

How do I do it!?! :-)

Is it just a matter of running 'bk push', or do I need to do 
someother/additional magic incantations?

Am I even allowed to upload any modifications at all, or do I have to 
mail the modified files to Harlan or some other trusted maintainer?

Terje

-- 
- <Terje.Mathisen at hda.hydro.com>
"almost all programming can be viewed as an exercise in caching"



More information about the hackers mailing list