mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
Correct the open() statement in readwav.f90.
This commit is contained in:
parent
bda0206617
commit
d3121bfedd
@ -139,7 +139,7 @@ program jt9
|
|||||||
read (optarg(:arglen), *) nexp_decode
|
read (optarg(:arglen), *) nexp_decode
|
||||||
end select
|
end select
|
||||||
end do
|
end do
|
||||||
|
|
||||||
if (display_help .or. stat .lt. 0 &
|
if (display_help .or. stat .lt. 0 &
|
||||||
.or. (.not. read_files .and. remain .gt. 0) &
|
.or. (.not. read_files .and. remain .gt. 0) &
|
||||||
.or. (read_files .and. remain .lt. 1)) then
|
.or. (read_files .and. remain .lt. 1)) then
|
||||||
@ -234,7 +234,7 @@ program jt9
|
|||||||
read(unit=wav%lun,end=3) shared_data%id2(k-kstep+1:k)
|
read(unit=wav%lun,end=3) shared_data%id2(k-kstep+1:k)
|
||||||
go to 4
|
go to 4
|
||||||
3 call timer('read_wav',1)
|
3 call timer('read_wav',1)
|
||||||
print*,'EOF on input file ',infile
|
print*,'EOF on input file ',trim(infile)
|
||||||
exit
|
exit
|
||||||
4 call timer('read_wav',1)
|
4 call timer('read_wav',1)
|
||||||
nhsym=(k-2048)/kstep
|
nhsym=(k-2048)/kstep
|
||||||
|
@ -53,7 +53,7 @@ contains
|
|||||||
type(riff_descriptor) :: desc
|
type(riff_descriptor) :: desc
|
||||||
character(len=4) :: riff_type
|
character(len=4) :: riff_type
|
||||||
|
|
||||||
open (newunit=this%lun, file=filename, access='stream', form='unformatted', status='old')
|
open (unit=this%lun, file=filename, access='stream',status='old')
|
||||||
read (unit=this%lun) desc,riff_type
|
read (unit=this%lun) desc,riff_type
|
||||||
inquire (unit=this%lun, pos=filepos)
|
inquire (unit=this%lun, pos=filepos)
|
||||||
do
|
do
|
||||||
|
Loading…
Reference in New Issue
Block a user