This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/47432] ttyname() not thread-safe
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 27 Jan 2011 15:18:25 +0000
- Subject: [Bug libfortran/47432] ttyname() not thread-safe
- Auto-submitted: auto-generated
- References: <bug-47432-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47432
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu.org
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-01-27 15:18:23 UTC ---
Janne's patch: http://gcc.gnu.org/ml/fortran/2011-01/msg00225.html
There is an POSIX-version issue (draft and final) on Solaris,
cf. http://gcc.gnu.org/ml/fortran/2011-01/msg00248.html (or related PRs 47491
and 47431).
Rainer Orth wrote:
* full standard:
extern int ttyname_r(int, char *, size_t);
* draft standard:
extern char *ttyname_r(int, char *, int);