diff options
author | Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2007-04-25 07:38:59 +0000 |
---|---|---|
committer | François-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2007-04-25 07:38:59 +0000 |
commit | 3a35ee02c8c7a390a393085ecd66814c3debc47b (patch) | |
tree | bbcc99145bea7477e657883a7e96b726124c35e6 | |
parent | 6422c11230e5a3e125e35967100d8fbc665661f6 (diff) | |
download | gcc-3a35ee02c8c7a390a393085ecd66814c3debc47b.zip gcc-3a35ee02c8c7a390a393085ecd66814c3debc47b.tar.gz gcc-3a35ee02c8c7a390a393085ecd66814c3debc47b.tar.bz2 |
re PR libfortran/31299 (Use getpwuid(geteuid()) instead of getlogin() for GETLOG())
PR libfortran/31299
* intrinsic.texi (GETLOG): Update documentation to reflect
library changes.
From-SVN: r124144
-rw-r--r-- | gcc/fortran/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/fortran/intrinsic.texi | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 1364967..4d880d8 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2007-04-25 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + + PR libfortran/31299 + * intrinsic.texi (GETLOG): Update documentation to reflect + library changes. + 2007-04-24 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> PR fortran/31587 diff --git a/gcc/fortran/intrinsic.texi b/gcc/fortran/intrinsic.texi index 56e6b31..b4c9fae 100644 --- a/gcc/fortran/intrinsic.texi +++ b/gcc/fortran/intrinsic.texi @@ -4401,8 +4401,9 @@ Subroutine @end multitable @item @emph{Return value}: -Stores the current user name in @var{LOGIN}. (On systems where -the @code{getlogin(3)} function is not implemented, this will +Stores the current user name in @var{LOGIN}. (On systems where POSIX +functions @code{geteuid} and @code{getpwuid} are not available, and +the @code{getlogin} function is not implemented either, this will return a blank string.) @item @emph{Example}: |