summaryrefslogtreecommitdiff
path: root/lib/ft8var
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-06-22 12:03:44 +0200
committerChristoph Berg <myon@debian.org>2026-06-22 12:03:44 +0200
commitd83a420f0517d7fc47aeb288a6a0cf4891784fcc (patch)
tree6d9c83527c56458a8360ba080bf5f4ca73d526dc /lib/ft8var
parent4b089ae3f7e9e2d5662f718f663b26a4e8ee63ca (diff)
New upstream version 3.0.2+dfsgupstream/3.0.2+dfsg
Diffstat (limited to 'lib/ft8var')
-rw-r--r--lib/ft8var/cwfilter.f907
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/ft8var/cwfilter.f90 b/lib/ft8var/cwfilter.f90
index 913c7e3e..d3ec35fb 100644
--- a/lib/ft8var/cwfilter.f90
+++ b/lib/ft8var/cwfilter.f90
@@ -17,7 +17,12 @@ subroutine cwfilter(first)
!note that with new, larger ALLCALL7.TXT files, dimensions of various ncall arrays may need to be increased in jt65_mod9.f90
!on 20250709 callj dim was increased from 9000 to 10000 when updated ALLCALL7.TXT file was added
if(first) then
- open(24,file='ALLCALL7.TXT',status='unknown') ! accepting Australian 7-char callsigns
+ ! Open the shipped read-only ALLCALL7.TXT for reading only. status='old' with
+ ! action='read' makes a missing/unreadable file degrade cleanly to an empty
+ ! callsign DB (handled by the count check below) instead of status='unknown'
+ ! attempting a create in the read-only app bundle, which aborts the decoder.
+ open(24,file=trim(share_dir)//'/ALLCALL7.TXT',status='old',action='read',iostat=ios) ! accepting Australian 7-char callsigns
+ if(ios.ne.0) go to 20
do i=1,MAXC
read(24,1004,end=20) line
1004 format(a80)