[Xastir-Dev] Re: [Xastir] May 4th Tornado Outbreak
Curt Mills, WE7U
hacker at tc.fluke.com
Mon May 5 18:50:41 EDT 2003
On Mon, 5 May 2003, J. Lance Cotton wrote:
> On Monday 05 May 2003 17:34, Curt Mills, WE7U wrote:
> <snip>
> > At first glance the code in time_from_aprsstring() appears to be
> > incorrect. It looks like we're subtracting the offsets from our
> > expiration time, creating a time_t out of it, and then comparing
> > that to time_now() for expiration. The end result is that we expire
> > a few hours too soon or too late depending on the timezone we're in.
> > Anyone concur?
>
>
> Not sure at the moment. I'm in a GMT -5 timezone. Would that cause a late or
> early expiration? I wouldn't notice it anyway, I think, since wxserver sends
> out the kill packet when an alert expires anyway, right?
No. We currently ignore kill or cancel packets.
The alert packets can contain a start date/time and an expiration
date/time. We use the expiration timestamp to delete it. If the
code to do that is wrong, that could explain a few things.
--
Curt Mills, WE7U hacker_NO_SPAM_ at tc.fluke.com
Senior Methods Engineer/SysAdmin
"Lotto: A tax on people who are bad at math!"
"Windows: Microsoft's tax on computer illiterates!" -- WE7U
"The world DOES revolve around me: I picked the coordinate system!"
More information about the Xastir-dev
mailing list