public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/47431] New: ctime() not thread-safe
@ 2011-01-24 10:41 jb at gcc dot gnu.org
  2011-01-24 11:13 ` [Bug libfortran/47431] " jb at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: jb at gcc dot gnu.org @ 2011-01-24 10:41 UTC (permalink / raw)
  To: gcc-bugs

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

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


In libgfortran/intrinsics/ctime.c we call the POSIX ctime() function, which
need not be thread safe. Instead, we should use ctime_r() if available.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-02-02 18:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-24 10:41 [Bug libfortran/47431] New: ctime() not thread-safe jb at gcc dot gnu.org
2011-01-24 11:13 ` [Bug libfortran/47431] " jb at gcc dot gnu.org
2011-01-27 15:23 ` burnus at gcc dot gnu.org
2011-01-27 15:34 ` burnus at gcc dot gnu.org
2011-01-27 20:42 ` jb at gcc dot gnu.org
2011-01-27 21:03 ` jb at gcc dot gnu.org
2011-02-02 18:12 ` dnovillo at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).