You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Igor Galić (JIRA)" <ji...@apache.org> on 2012/05/11 02:27:49 UTC

[jira] [Created] (TS-1256) Streamline usage of PATH_NAME_MAX

Igor Galić created TS-1256:
------------------------------

             Summary: Streamline usage of PATH_NAME_MAX
                 Key: TS-1256
                 URL: https://issues.apache.org/jira/browse/TS-1256
             Project: Traffic Server
          Issue Type: Task
          Components: Cleanup
            Reporter: Igor Galić
             Fix For: 3.3.0


There are right now two different usages of the constant {{PATH_NAME_MAX}} in variable declarations:

{code:c}
char foo[PATH_NAME_MAX];
{code}

and

{code:c}
char bar[PATH_NAME_MAX + 1];
{code}

Since we define what {{PATH_NAME_MAX}} is ourselves, we should streamline our code to only use the first kind of declaration.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira