This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/38956] New: test gfortran.dg/chmod_1.f90 fails on i686-pc-cygwin
- From: "billingd at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jan 2009 03:05:44 -0000
- Subject: [Bug fortran/38956] New: test gfortran.dg/chmod_1.f90 fails on i686-pc-cygwin
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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