[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tlf-devel] Re: Fwd: WPX contest rules, bug found
From: |
Rein Couperus PA0R |
Subject: |
[Tlf-devel] Re: Fwd: WPX contest rules, bug found |
Date: |
Sun, 26 Mar 2006 11:10:26 +0200 |
Hi Fabian,
tnx for finding this... Next week is tlf-maintenance week, so
I will fix it.
73,
Rein PA0R
On Sat, 2006-03-25 at 13:12 +0100, Fabian Kurz wrote:
> Hi Rein,
>
> Rolf/OH6KXL and me noticed a bug in tlf-0.9.27 yesterday: in the
> latest version, DXCC/Zones etc of a callsign are not properly
> regognized anymore. I traced it back to readctydata.c, which, since
> the last version 0.9.27 of Dec 17th (in 0.9.26 of Dec 16th it's still
> OK!) is broken. In the main loop where the lines from cty.dat are
> read, there is suddenly a: if (j<4) continue; inserted which makes
> absolutely no sense here, because j is set to 0 just before that and j
> is not modified; resulting in all arrays for zones etc not to be
> filled.
> After removing these two lines, the regonition of DXCCs etc works
> again (we noticed this bug because in WPX mode, all QSOs were scored
> with 1 point only), and WPX scoring is correct again.
>
> I am not exactly sure why this if(<4).. was inserted, looks to me like
> you started to make some more changes but forgot to continue halfway
> through? Happens to me all the time :-)
>
> Attached is the mail which OH6KXL sent to the tlf-devel reflector, but
> it didn't make it through, at least it doesn't show up on the list
> archive at http://lists.gnu.org/archive/html/tlf-devel/2006-03/.
> I tried to subscribe to tlf-devel myself via the web-interface, no
> luck. Anything broken there?
>
> 73 and thanks for TLF, I am a happy user for a long time already!
>
> Fabian, DJ1YFK
>
>
> ----- Forwarded message from Rolf Moberg <address@hidden> -----
>
> From: Rolf Moberg <address@hidden>
> User-Agent: Thunderbird 1.5 (X11/20051201)
> To: address@hidden
> Cc: address@hidden
> Subject: WPX contest rules, bug found
>
> Hello!
>
> My earlier posting was unclear. I knew there are pre programmed contest
> rules for WPX. That's why I tried to write them to rules. However it
> didn't work. Scoring was faulty.
>
> We discussed about the problem in #elecraft in irc.radiochat.org
> network. TLF 0.9.27 does not determine zone and continent from CALL=OH6KXL.
>
> DJ1YFK found a "bug" from source code. His simple correction is in the
> following. I don't know is it a some sort of kludge or not. But in the
> initial tests it helped. Saturday and sunday will tell more during the
> contest. I'm not a coder but simply end user. My last coding was done in
> 1995 in Turbo Pascal with poorest acceptable degree :)
>
> Remove two lines from readctydata.c
>
> if (j < 4)
> continue;
>
> Thanks to DJ1YFK.
>
>
> Rolf
> oh6kxl
>
> ----- End forwarded message -----
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Tlf-devel] Re: Fwd: WPX contest rules, bug found,
Rein Couperus PA0R <=