You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by "Pepijn Noltes (JIRA)" <ji...@apache.org> on 2015/02/12 11:39:12 UTC

[jira] [Resolved] (CELIX-224) Wrong use of errno in launcher.c

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

Pepijn Noltes resolved CELIX-224.
---------------------------------
    Resolution: Fixed

> Wrong use of errno in launcher.c
> --------------------------------
>
>                 Key: CELIX-224
>                 URL: https://issues.apache.org/jira/browse/CELIX-224
>             Project: Celix
>          Issue Type: Bug
>            Reporter: Pepijn Noltes
>            Priority: Minor
>
> The launcher does not correctly use errno. This can result in printed error about config.properties which is not correct. 
> errno should only be checked if return value indicates a problem (NULL or -1) and if that is not possible errno should be set to 0 before calling a function which can result in an errno.



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