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] [Created] (TS-3179) {{ats_scoped_fd}} should not provide a boolean operator

Alan M. Carroll created TS-3179:
-----------------------------------

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