celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pepijn Noltes (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CELIX-224) Wrong use of errno in launcher.c
Date Tue, 03 Nov 2015 15:19:27 GMT

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

Pepijn Noltes closed CELIX-224.
-------------------------------

> 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)

Mime
View raw message