This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

do warn, do not crash, on FSTAT gid disagreements


Committed.

        tq vm, (burley)


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.

*** g77-e/libf2c/libU77/u77-test.f.~1~	Sat May  1 23:56:17 1999
--- g77-e/libf2c/libU77/u77-test.f	Sun May  2 00:08:30 1999
*************** C     the better to test with, my dear! 
*** 230,236 ****
        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'
          call doabort
        end if
--- 230,238 ----
        end if
        write (6,*) '  with stat array ', statb
!       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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]