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

           Summary: ttyname() not thread-safe
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: j...@gcc.gnu.org


In libgfortran/io/unix.c we call the POSIX ttyname() function, which need not
be thread-safe. Instead we should call ttyname_r(), if available.

Reply via email to