Skip to content

Commit 2bc6ffb

Browse files
committed
restore fseek_stream implementation
1 parent 1ac756c commit 2bc6ffb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Utilities/InputOutput.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1738,7 +1738,7 @@ subroutine fseek_stream(iu, offset, whence, status)
17381738
end select
17391739
!
17401740
! -- position the file pointer to ipos
1741-
read (iu, pos=ipos, iostat=status)
1741+
write (iu, pos=ipos, iostat=status)
17421742
inquire (unit=iu, pos=ipos)
17431743
end subroutine fseek_stream
17441744

0 commit comments

Comments
 (0)