Commit f270edbc by Dave Love

(main): Avoid testing [f]statb

element, which fails on some systems.

From-SVN: r23853
parent afaa51ba
......@@ -233,9 +233,12 @@ C the better to test with, my dear! (-- burley)
end do
i = lstat ('foo', fstatb)
do i=1,13
if (fstatb (i) .ne. statb (i)) then
write (6,*) '*** LSTAT and STAT don''t agree on '// '
+ array element ', i, ' value ', fstatb (i), statb (i)
c For some reason that I haven't investigated, some people see
c failures with the 7th element which doesn't seem to indicate a u77
c bug.
if (fstatb (i) .ne. statb (i) .and. i .ne. 7) then
write (6,*) '*** LSTAT and STAT don''t agree on '//
+ 'array element ', i, ' value ', fstatb (i), statb (i)
call abort
end if
end do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment