This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Re: more new test failures on Darwin
- From: howarth at bromo dot msbb dot uc dot edu (Jack Howarth)
- To: fxcoudert at gmail dot com, howarth at bromo dot msbb dot uc dot edu
- Cc: fortran at gcc dot gnu dot org, Thomas dot Koenig at online dot de
- Date: Tue, 1 Aug 2006 17:43:43 -0400 (EDT)
- Subject: Re: Re: more new test failures on Darwin
FX,
I built the current gcc trunk on Fedora Core 5 linux and can reproduce
the same problem. The chmod_1 test program aborts when run through sudo.
The code that is causing the abort is...
call chmod (n, "a-w", i)
if (i == 0) then
if (access(n,"w") == 0 .or. access(n,"W") == 0) call abort
end if
The other portions of the test seem to run fine. The chmod_1.f90,
chmod_2.f90 and chmod_3.f90 source all abort on the same code
(where chmod attempts to change the write access of the file)
when run through sudo.
Jack