diff options
| author | Christoph Berg <myon@debian.org> | 2020-05-25 21:27:40 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2020-05-25 21:27:40 +0200 |
| commit | 09f69dd5e348d8d5730cc4b834a81be981f60e7b (patch) | |
| tree | 93cf0ab2828433d17a68ed6b421dea01e0bc3e1b /lib/77bit | |
| parent | 48f438c618c9ad6e8dc62ce511064b4ef50edff1 (diff) | |
| parent | 458b033b8ae7818d50e80f51b12c0c43bbd0d3e2 (diff) | |
Update upstream source from tag 'upstream/2.2.0_rc2+repack'
Update to upstream version '2.2.0~rc2+repack'
with Debian dir 27b4a77614913be653f57d933fe7a55e5ccf2618
Diffstat (limited to 'lib/77bit')
| -rw-r--r-- | lib/77bit/packjt77.f90 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/77bit/packjt77.f90 b/lib/77bit/packjt77.f90 index 707e86e9..c5a663cc 100644 --- a/lib/77bit/packjt77.f90 +++ b/lib/77bit/packjt77.f90 @@ -533,7 +533,12 @@ subroutine unpack77(c77,nrx,msg,unpk77_success) ! EU VHF contest read(c77,1060) n12,n22,ir,irpt,iserial,igrid6 1060 format(b12,b22,b1,b3,b11,b25) + if(igrid6.lt.0 .or. igrid6.gt.18662399) then + unpk77_success=.false. + return + endif call hash12(n12,call_1) + if(n12.eq.hashmy12) call_1='<'//trim(mycall13)//'>' call hash22(n22,call_2) nrs=52+irpt write(cexch,1022) nrs,iserial @@ -545,7 +550,7 @@ subroutine unpack77(c77,nrx,msg,unpk77_success) else if(i3.ge.6) then ! i3 values 6 and 7 are not yet defined unpk77_success=.false. endif -! if(msg(1:4).eq.'CQ <') unpk77_success=.false. + if(msg(1:4).eq.'CQ <') unpk77_success=.false. return end subroutine unpack77 @@ -1157,6 +1162,7 @@ subroutine pack77_3(nwords,w,i3,n3,c77) "NB ","NS ","QC ","ON ","MB ","SK ","AB ","BC ","NWT","NF ", & "LB ","NU ","YT ","PEI","DC "/ + if(w(1)(1:1).eq.'<' .and. w(2)(1:1).eq.'<') go to 900 if(nwords.eq.4 .or. nwords.eq.5 .or. nwords.eq.6) then i1=1 if(trim(w(1)).eq.'TU;') i1=2 |
