[Bug fortran/31299] getlog returns blanks when not run from the command prompt

2007-03-22 Thread burnus at gcc dot gnu dot org
--- Comment #8 from burnus at gcc dot gnu dot org 2007-03-22 07:42 --- Close as Won't Fix -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/31299] getlog returns blanks when not run from the command prompt

2007-03-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-03-21 16:49 --- This works for me: [EMAIL PROTECTED]:~$ nohup ./a.out nohup: appending output to `nohup.out' [EMAIL PROTECTED]:~$ !c cat nohup.out Hello apinski What OS are you running with? --

[Bug fortran/31299] getlog returns blanks when not run from the command prompt

2007-03-21 Thread michael dot a dot richmond at nasa dot gov
--- Comment #2 from michael dot a dot richmond at nasa dot gov 2007-03-21 16:59 --- Subject: Re: getlog returns blanks when not run from the command prompt I am running SuSE Linux 10.2 At 12:49 PM 3/21/2007, you wrote: --- Comment #1 from pinskia at gcc dot gnu dot org

[Bug fortran/31299] getlog returns blanks when not run from the command prompt

2007-03-21 Thread burnus 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 --

[Bug fortran/31299] getlog returns blanks when not run from the command prompt

2007-03-21 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-03-21 17:31 --- The only thing I can think of this is really a glibc issue and/or a shell issue as it works for me with debian. Ok, I can reproduce it with bash on FC5 (I think it is FC5) but it works with csh as the shell. --

[Bug fortran/31299] getlog returns blanks when not run from the command prompt

2007-03-21 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2007-03-21 17:34 --- This is not a shell issue either, it is just csh/tcsh has nohup as a builtin :). Anyways this is a bug with coreutils. coreutils 5.2.1's nohup works coreutils 5.93's nohup does not. You should report this bug to

[Bug fortran/31299] getlog returns blanks when not run from the command prompt

2007-03-21 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2007-03-21 18:02 --- (In reply to comment #5) Anyways this is a bug with coreutils. coreutils 5.2.1's nohup works coreutils 5.93's nohup does not. You should report this bug to them. I reported it now, cf.

[Bug fortran/31299] getlog returns blanks when not run from the command prompt

2007-03-21 Thread ebb9 at byu dot net
--- Comment #7 from ebb9 at byu dot net 2007-03-22 04:46 --- According to POSIX, The getlogin() function shall return a pointer to a string containing the user name associated by the login activity with the controlling terminal of the current process. The behavior of nohup was