code base: PATH_NAME_MAX vs PATH_MAX
------------------------------------

                 Key: TS-84
                 URL: https://issues.apache.org/jira/browse/TS-84
             Project: Traffic Server
          Issue Type: Improvement
          Components: Cleanup
    Affects Versions: 2.0a
         Environment: All
            Reporter: George Paul
            Priority: Minor


Originally PATH_NAME_MAX was to be used for PATH_MAX for portability between 
OS's AFAIR. PATH_MAX is inconsistent  on various OSs (linux-4096, osx/bsd-1024, 
windows-260(?), etc). TS is more consistent in the use of PATH_NAME_MAX in the 
code base (cache, hostdb, plugins, etc) while TM is not as consistent. TC never 
used it. The code base needs to examined for usage of both and made consistent 
and portable. The current suggestion is to use what TS currently uses which is 
PATH_NAME_MAX. This should be revisited when this issue is worked on. 

-George

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to