[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tlf-devel] tlf and cq mir
From: |
Rein Couperus |
Subject: |
Re: [Tlf-devel] tlf and cq mir |
Date: |
Sat, 08 May 2004 22:01:50 +0200 |
User-agent: |
KMail/1.5.4 |
You could try to change tlf.h:
#define MAX_QSOS 10000 /* internal qso array */
#define MAX_DATALINES 350 /* from ctydb.dat */
#define MAX_DBLINES 3000 /* exceptioncalls from ctydb.dat */
#define MAX_CALLS 5000 /* max nr of calls in dupe array */
#define MAX_MULTS 150 /* max nr of mults in mults array */
-and recompile.
All these arrays will be made dynamic as soon as I have time...
73, and success
Rein Pa0R
PS.: the next few weeks I will be afloat (PA0R/M etc...) so I wont be
answering my email.
On Saturday 08 May 2004 17:30, Joop Stakenborg wrote:
> Does anyone have a working cty.dat for the cq mir contest?
>
> This contest uses the R-150-S list of countries, which means russian
> provinces like UA1N, UA4P, etc. count as a separate multiplier. Rules
> are at: http://srr.ru/CONTEST/cq_m_4_eng.php
>
> The solution for this seems to be to add these provinces to cty.dat, the
> same is done with trlog as I have seen in the trlog mailing list archives.
>
> I have found a modified cty.dat at
> http://www.dl1iao.com/software/software.htm, but tlf crashes when using
> this file with some prefixes, e.g. when entering UA1N.
>
> Anyone have a fix for this? The array datalines[x] in getctydata() is
> called with a very large x, here is the crash:
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1084390320 (LWP 11357)]
> 0x4012bd60 in strncpy () from /lib/tls/libc.so.6:
> (gdb) bt
> #0 0x4012bd60 in strncpy () from /lib/tls/libc.so.6
> #1 0x08059094 in getctydata (checkcallptr=0x16a175d4 <Address
> 0x16a175d4 out of bounds>) at getctydata.c:194
> #2 0x0804fe9a in callinput () at callinput.c:1180
> #3 0x0805fd6b in logit () at logit.c:75
> #4 0x400839b4 in start_thread () from /lib/tls/libpthread.so.0
> #5 0x00000000 in ?? ()
>
>
> Regards,
> Joop PG4I
>
>
> _______________________________________________
> Tlf-devel mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/tlf-devel
--
address@hidden or address@hidden
http://www.couperus.com
http://savannah.nongnu.org/projects/tlf