You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Justin Ross (JIRA)" <ji...@apache.org> on 2015/10/28 15:37:27 UTC

[jira] [Updated] (PROTON-1029) Do not fail hard if strerror_r fails.

     [ https://issues.apache.org/jira/browse/PROTON-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Ross updated PROTON-1029:
--------------------------------
    Labels: crash  (was: )

> Do not fail hard if strerror_r fails.
> -------------------------------------
>
>                 Key: PROTON-1029
>                 URL: https://issues.apache.org/jira/browse/PROTON-1029
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: 0.10
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>              Labels: crash
>             Fix For: 0.11
>
>
> The return type from strerror_r differs depending on the compiler's feature set.
> if _GNU_SOURCE is defined, strerror_r returns a char *
> if _POSIX_C_SOURCE is defined to a certain set of values, strerror_r returns an int.
> proton expects int, and fails hard (aborts) when a string ptr is returned.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)