This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31299] getlog returns blanks when not run from the command prompt
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Mar 2007 17:27:59 -0000
- Subject: [Bug fortran/31299] getlog returns blanks when not run from the command prompt
- References: <bug-31299-14284@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from burnus at gcc dot gnu dot org 2007-03-21 17:27 -------
I can reproduce this. With g95 it shows also with nohup the login, whereas with
gfortran, sunf95 and ifort it does not.
gfortran calls: char *getlogin(void)
g95 calls: getpwuid(getuid())->pw_name
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31299