Test gfortran.dg/chmod_1.f90 fails on i686-pc-cygwin. The part of the test
that fails is:
call chmod (n, "a-w", i
if (i == 0 .and. getuid() /= 0) then
if (access(n,"w") == 0 .or. access(n,"W") == 0) call abort
end if
n = "foobar_file", and after the test we have
$ ls -l foobar_file
-r-xr-xr-x 1 DABilling Domain_Users 0 Jan 24 13:58 foobar_file
so it appears thet the chmod function works.
--
Summary: test gfortran.dg/chmod_1.f90 fails on i686-pc-cygwin
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: billingd at gcc dot gnu dot org
GCC build triplet: i686-pc-cygwin
GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38956