diff options
| author | Christoph Berg <myon@debian.org> | 2018-12-19 22:58:32 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2018-12-19 22:58:32 +0100 |
| commit | e0737c56c1e384e05064a0c6e1ac46979371041b (patch) | |
| tree | a0123d694a2d36c43dabdf0a3907392fce11d457 /lib/jt9code.f90 | |
| parent | b4aebf2d137b892f53503b13785ecae900062ff7 (diff) | |
New upstream version 2.0.0+repackupstream/2.0.0+repack
Diffstat (limited to 'lib/jt9code.f90')
| -rw-r--r-- | lib/jt9code.f90 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/jt9code.f90 b/lib/jt9code.f90 index 5a4b4fc8..0ab96d85 100644 --- a/lib/jt9code.f90 +++ b/lib/jt9code.f90 @@ -71,9 +71,11 @@ program jt9code 10 bad=" " expected = 'EXACT' - if (msg0.ne.msgchk) expected = 'TRUNCATED' - if (nmsg.eq.1) expected = 'UNKNOWN' - if(decoded.ne.msgchk) bad="*" + if(decoded.ne.msg0) then + bad="*" + if(decoded(1:13).eq.msg0(1:13) .and. & + decoded(14:22).eq. ' ') expected = 'TRUNCATED' + endif write(*,1020) imsg,msg0,decoded,bad,itype,msgtype,expected 1020 format(i2,'.',1x,a22,1x,a22,1x,a1,i3,":",a10,2x,a22) enddo |
