From: Francois-Xavier Coudert Date: Wed, 25 Apr 2007 07:38:59 +0000 (+0000) Subject: re PR libfortran/31299 (Use getpwuid(geteuid()) instead of getlogin() for GETLOG()) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3a35ee02c8c7a390a393085ecd66814c3debc47b;p=gcc.git 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 --- diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 1364967de37..4d880d83aff 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2007-04-25 Francois-Xavier Coudert + + PR libfortran/31299 + * intrinsic.texi (GETLOG): Update documentation to reflect + library changes. + 2007-04-24 Francois-Xavier Coudert PR fortran/31587 diff --git a/gcc/fortran/intrinsic.texi b/gcc/fortran/intrinsic.texi index 56e6b319eb3..b4c9fae8015 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}: