[IRIX 6.5] strerror(152) returns 0
----------------------------------
Key: STDCXX-305
URL: http://issues.apache.org/jira/browse/STDCXX-305
Project: C++ Standard Library
Issue Type: Bug
Components: External
Environment: IRIX 6.5
Reporter: Martin Sebor
POSIX requires that strerror(n) return a pointer to a NUL-terminated character
string for any value of n. IRIX 6.5 returns 0 for at least n=152.
$ cat t.c && cc -version && cc t.c && ./a.out
#include <assert.h>
#include <string.h>
int main ()
{
assert (0 != strerror (152));
}
MIPSpro Compilers: Version 7.41
Assertion failed: 0 != strerror (152), file t.c, line 6
Abort (core dumped)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira