You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2006/11/14 22:26:37 UTC
[jira] Commented: (STDCXX-305) [IRIX 6.5] strerror(152) returns 0
[ http://issues.apache.org/jira/browse/STDCXX-305?page=comments#action_12449796 ]
Martin Sebor commented on STDCXX-305:
-------------------------------------
Filed with SGI as case 2687173.
> [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