[ 
https://issues.apache.org/jira/browse/PROTON-121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13577691#comment-13577691
 ] 

Andrew Stitcher commented on PROTON-121:
----------------------------------------

The file error.c still uses strerror_r(); we still need to review the engine 
portions and ensure they are only dependent on ANSI C headers.
                
> Platform specific code is mixed in with platform independent code
> -----------------------------------------------------------------
>
>                 Key: PROTON-121
>                 URL: https://issues.apache.org/jira/browse/PROTON-121
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>             Fix For: 0.4
>
>
> the function pn_error_from errno() is platform specific and so should not be 
> in error.c which is (everywhere else) purely platform independent.
> It should be moved to a platform (POSIX) specific file (perhaps a file with 
> only this single function).
> [The clue for this is the #define POSIX_C_SOURCE at the top of error.c]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to