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:53:33 UTC
[jira] [Closed] (TS-3179) ats_scoped_fd should not provide boolean
operators
[ https://issues.apache.org/jira/browse/TS-3179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan M. Carroll closed TS-3179.
-------------------------------
Resolution: Fixed
Fix Version/s: 5.2.0
Assignee: Alan M. Carroll
> ats_scoped_fd should not provide boolean operators
> --------------------------------------------------
>
> Key: TS-3179
> URL: https://issues.apache.org/jira/browse/TS-3179
> Project: Traffic Server
> Issue Type: Bug
> Components: Core
> Reporter: Alan M. Carroll
> Assignee: Alan M. Carroll
> Fix For: 5.2.0
>
>
> 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)