do warn, do not crash, on FSTAT gid disagreements
From-SVN: r26719
This commit is contained in:
parent
92e38ab5f3
commit
f9f2ac3f2c
@ -1,3 +1,8 @@
|
||||
Sun May 2 00:06:45 1999 Craig Burley <craig@jcb-sc.com>
|
||||
|
||||
* g77.f-torture/execute/u77-test.f (main): Just warn about
|
||||
FSTAT gid disagreement, as it's expected on some systems.
|
||||
|
||||
Sat May 1 23:57:18 1999 Craig Burley <craig@jcb-sc.com>
|
||||
|
||||
* g77.f-torture/execute/u77-test.f: Generalize sum-checking to
|
||||
|
@ -226,9 +226,11 @@ C the better to test with, my dear! (-- burley)
|
||||
call doabort
|
||||
end if
|
||||
write (6,*) ' with stat array ', statb
|
||||
if (statb(5).ne.getuid () .or. statb(6).ne.getgid() .or. statb(4)
|
||||
+ .ne. 1) then
|
||||
write (6,*) '*** FSTAT uid, gid or nlink is wrong'
|
||||
if (statb(6) .ne. getgid ()) then
|
||||
write (6,*) 'Note: FSTAT gid wrong (happens on some systems).'
|
||||
end if
|
||||
if (statb(5) .ne. getuid () .or. statb(4) .ne. 1) then
|
||||
write (6,*) '*** FSTAT uid or nlink is wrong'
|
||||
call doabort
|
||||
end if
|
||||
do i=1,13
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun May 2 00:06:45 1999 Craig Burley <craig@jcb-sc.com>
|
||||
|
||||
* libU77/u77-test.f (main): Just warn about FSTAT gid
|
||||
disagreement, as it's expected on some systems.
|
||||
|
||||
Sat May 1 23:57:18 1999 Craig Burley <craig@jcb-sc.com>
|
||||
|
||||
* libU77/u77-test.f: Generalize sum-checking to
|
||||
|
@ -229,9 +229,11 @@ C the better to test with, my dear! (-- burley)
|
||||
call doabort
|
||||
end if
|
||||
write (6,*) ' with stat array ', statb
|
||||
if (statb(5).ne.getuid () .or. statb(6).ne.getgid() .or. statb(4)
|
||||
+ .ne. 1) then
|
||||
write (6,*) '*** FSTAT uid, gid or nlink is wrong'
|
||||
if (statb(6) .ne. getgid ()) then
|
||||
write (6,*) 'Note: FSTAT gid wrong (happens on some systems).'
|
||||
end if
|
||||
if (statb(5) .ne. getuid () .or. statb(4) .ne. 1) then
|
||||
write (6,*) '*** FSTAT uid or nlink is wrong'
|
||||
call doabort
|
||||
end if
|
||||
do i=1,13
|
||||
|
Loading…
Reference in New Issue
Block a user