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] [Created] (CELIX-224) Wrong use of errno in launcher.c
Date Thu, 12 Feb 2015 10:37:11 GMT
Pepijn Noltes created CELIX-224:
-----------------------------------

             Summary: 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