You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Alan M. Carroll (JIRA)" <ji...@apache.org> on 2014/11/07 23:52:34 UTC
[jira] [Updated] (TS-3179) ats_scoped_fd should not provide a
boolean operator
[ https://issues.apache.org/jira/browse/TS-3179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan M. Carroll updated TS-3179:
--------------------------------
Summary: ats_scoped_fd should not provide a boolean operator (was: {{ats_scoped_fd}} should not provide a boolean operator)
> ats_scoped_fd should not provide a boolean operator
> ---------------------------------------------------
>
> Key: TS-3179
> URL: https://issues.apache.org/jira/browse/TS-3179
> Project: Traffic Server
> Issue Type: Bug
> Components: Core
> Reporter: Alan M. Carroll
>
> The boolean operators for {{ats_scoped_fd}} are a compile problem in some supported compilers. They are also inappropriate for a file descriptor as they encourage uses which are different (and wrong) for file descriptors, which should be checked for being negative rather than directly as booleans.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)