The following program prints my login name when I run it with the command:

./a.out

but it prints only blanks when I run it with nohup:

nohup ./a.out
cat nohup.out

PROGRAM test_getlog
CHARACTER(LEN=8) :: cname
CALL GETLOG(cname)
PRINT *, cname
END


-- 
           Summary: getlog returns blanks when not run from the command
                    prompt
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: michael dot a dot richmond at nasa dot gov


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31299

Reply via email to