[Xastir] strcat/strcpy/strncpy functions

Curt, WE7U archer at eskimo.com
Fri Aug 20 14:40:46 EDT 2004


On Fri, 20 Aug 2004, Curt, WE7U wrote:

> On Fri, 20 Aug 2004, Tom Robson, ve7did wrote:
>
> > Just got the latest from anon.   On first run, no icons were displayed.
> > Exited and restart and all icons appear except home station.  Checked the
> > View>All Stations and home station data is there, although comments are
> > truncated after 3 characters for all stations.
>
> That's all you need!
>
> You know, I think I might have seen that yesterday but didn't pick
> up on it.  I'll check into it.  Probably there'll be a fix at
> lunchtime today for that.

Fixed.

In db.c:add_status() and db.c:add_comment() functions, change the
second parameter of the xastir_snprintf() function call to "len+1"
in each case.  Those calls are very near the end of the two
functions.

Change already committed to CVS.

--
Curt, WE7U			         http://www.eskimo.com/~archer
"Lotto:    A tax on people who are bad at math." -- unknown
"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