diff options
author | burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-12 20:26:10 +0000 |
---|---|---|
committer | burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-12 20:26:10 +0000 |
commit | cc4e1ef43730aec70769da5ff32371ea0ed3f3a0 (patch) | |
tree | b6e0d3e2fffc3e6afe56a8ece666aab8f9c1513a /gcc/fortran/intrinsic.texi | |
parent | 36b6158e9aadc91cf8be6a7a877c233cb4e9ecef (diff) | |
download | gcc-cc4e1ef43730aec70769da5ff32371ea0ed3f3a0.tar.gz |
2012-01-12 Tobias Burnus <burnus@net-b.de>
PR fortran/36755
* intrinsic.texi (CHMOD): Extend a bit and remove statement
that /bin/chmod is called.
2012-01-12 Tobias Burnus <burnus@net-b.de>
PR fortran/36755
* intrinsics/chmod.c (chmod_func): Replace call to /bin/chmod
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183137 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/intrinsic.texi')
-rw-r--r-- | gcc/fortran/intrinsic.texi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/fortran/intrinsic.texi b/gcc/fortran/intrinsic.texi index 6d4c9ffd20b..294818e43d0 100644 --- a/gcc/fortran/intrinsic.texi +++ b/gcc/fortran/intrinsic.texi @@ -1,5 +1,5 @@ @ignore -Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 +Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2012 Free Software Foundation, Inc. This is part of the GNU Fortran manual. For copying conditions, see the file gfortran.texi. @@ -2665,8 +2665,7 @@ END PROGRAM @table @asis @item @emph{Description}: -@code{CHMOD} changes the permissions of a file. This function invokes -@code{/bin/chmod} and might therefore not work on all platforms. +@code{CHMOD} changes the permissions of a file. This intrinsic is provided in both subroutine and function forms; however, only one form can be used in any given program unit. @@ -2692,8 +2691,9 @@ file name. Trailing blanks are ignored unless the character @code{achar(0)} are used as the file name. @item @var{MODE} @tab Scalar @code{CHARACTER} of default kind giving the -file permission. @var{MODE} uses the same syntax as the @var{MODE} -argument of @code{/bin/chmod}. +file permission. @var{MODE} uses the same syntax as the @code{chmod} utility +as defined by the POSIX standard. The argument shall either be a string of +a nonnegative octal number or a symbolic mode. @item @var{STATUS} @tab (optional) scalar @code{INTEGER}, which is @code{0} on success and nonzero otherwise. |