[Xastir] NWS objects

Curt Mills, WE7U hacker at tc.fluke.com
Wed Apr 16 20:14:16 EDT 2003


On Wed, 16 Apr 2003, dale huguley wrote:

> This somewhat surprizes me- If you wanted to gate everything from Green
> Bay Weather, it would take GRBTOR GRBSVR GRBSVS GRBNPW GRBFFW GRBFFS and
> on and on.
> I would swear it didn't work like this a year ago.
>
> I would set a minimum of 3 letters to compare- this would define a
> weather service office- would keep someone from putting "S" as a station
> an getting all the NWS offices that start with "S".

Fixed.  The new code allows a partial match, but the string in the
nws-stations.txt file must be at least three characters long.

I also fixed some possible buffer overflow problems while I was in
there w.r.t. the scanf() family of functions.

-- 
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 mailing list