[Bug libgcj/12660] New: libgcj should use strerror_r instead of strerror

tromey at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Oct 17 15:41:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: libgcj should use strerror_r instead of strerror
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tromey at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org

Mark Wielaard points out that strerror is not necessarily
thread-safe.  we should use strerror_r instead, if available.



More information about the Gcc-bugs mailing list