summaryrefslogtreecommitdiff
path: root/lib/jt9code.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2018-12-19 23:01:50 +0100
committerChristoph Berg <myon@debian.org>2018-12-19 23:01:50 +0100
commit5c60c77adff9a54fd5f94f9915b22ccd8c4c5a3b (patch)
tree410fa358a5f73260a579b4d669730f319a4d2609 /lib/jt9code.f90
parent6c82050de806dcdafaed0077400a6c3396a4a159 (diff)
parente0737c56c1e384e05064a0c6e1ac46979371041b (diff)
Update upstream source from tag 'upstream/2.0.0+repack'
Update to upstream version '2.0.0+repack' with Debian dir 55dbb3a6a7eb189e187dd79f732623ca0b56116d
Diffstat (limited to 'lib/jt9code.f90')
-rw-r--r--lib/jt9code.f908
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