This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/447] New: No useful thread safe error to string function


Glibc uses obsolete:
char *strerror_r(int errnum, char *buf, size_t n);

There is no other function to get an error description in thread safe way.

And even the function described above sometime uses the user supplied buffer,
and sometime allocates a new string. So it is not consistent and renders error
reporting not reliable. 

BTW. What is "Host triplet", "Target triplet", "Build triplet"?

-- 
           Summary: No useful thread safe error to string function
           Product: glibc
           Version: 2.3.3
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: olaf at cbk dot poznan dot pl
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: glibc-2.3.3-27
  GCC host triplet: i386
GCC target triplet: i386


http://sources.redhat.com/bugzilla/show_bug.cgi?id=447

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]