summaryrefslogtreecommitdiff
path: root/lib/ft4/genft4.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-09-26 23:24:03 +0200
committerChristoph Berg <myon@debian.org>2026-09-26 23:24:03 +0200
commit059831534c7e884f0a607ed86b582fd00d821731 (patch)
tree76bcb67a78f8aa2654fd34c2ad801a62136b0170 /lib/ft4/genft4.f90
parentd83a420f0517d7fc47aeb288a6a0cf4891784fcc (diff)
New upstream version 3.2.0~rc1+dfsgupstream/3.2.0_rc1+dfsg
Diffstat (limited to 'lib/ft4/genft4.f90')
-rw-r--r--lib/ft4/genft4.f907
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/ft4/genft4.f90 b/lib/ft4/genft4.f90
index 66e70a61..2fdd478a 100644
--- a/lib/ft4/genft4.f90
+++ b/lib/ft4/genft4.f90
@@ -48,14 +48,17 @@ subroutine genft4(msg0,ichk,msgsent,msgbits,i4tone)
i3=-1
n3=-1
- call pack77(message,i3,n3,c77)
+ c77=' '
+ unpk77_success=.false.
+ call pack77_legacy_truncating_fallback(message,i3,n3,c77)
+ if(i3.lt.0 .or. n3.lt.0) go to 1
call unpack77(c77,0,msgsent,unpk77_success) !Unpack to get msgsent
if(ichk.eq.1) go to 999
read(c77,'(77i1)',err=1) msgbits
if(unpk77_success) go to 2
1 msgbits=0
- itone=0
+ i4tone=0
msgsent='*** bad message *** '
go to 999