Open decoded.txt in append mode when redoing a decode pass.

Before the subsequent decodes on a period (nagain/=0) were truncating
the file and confusing JTAlert.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4047 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2014-04-20 02:44:47 +00:00
parent a80db10217
commit a1daf7afff

View File

@ -27,7 +27,12 @@ subroutine decoder(ss,id2)
ndecodes0=0 ndecodes0=0
ndecodes1=0 ndecodes1=0
open(13,file='decoded.txt',status='unknown') if (nagain .eq. 0) then
open(13,file='decoded.txt',status='unknown')
else
open(13,file='decoded.txt',status='unknown',position='append')
end if
open(22,file='kvasd.dat',access='direct',recl=1024,status='unknown') open(22,file='kvasd.dat',access='direct',recl=1024,status='unknown')
npts65=52*12000 npts65=52*12000