You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2013/07/19 18:16:50 UTC
[jira] [Updated] (TS-228) Cleanup usage of "long" in all code
[ https://issues.apache.org/jira/browse/TS-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leif Hedstrom updated TS-228:
-----------------------------
Summary: Cleanup usage of "long" in all code (was: Solaris 64-bit SunPro long is 64-bit while for g++ 64-bit long is 32-bit, we shoud not use "long" anywhere in TS)
> Cleanup usage of "long" in all code
> -----------------------------------
>
> Key: TS-228
> URL: https://issues.apache.org/jira/browse/TS-228
> Project: Traffic Server
> Issue Type: Bug
> Components: Cleanup
> Affects Versions: 2.1.0
> Reporter: John Plevyak
> Assignee: James Peach
> Priority: Critical
> Fix For: 3.5.1
>
>
> Solaris 64-bit SunPro long is 64-bit while for g++ 64-bit long is 32-bit.
> This is a potential can of worms which at the least is making records.snap
> incompatible but at worse could be the cause of other bugs.
> In any case we should not be using "long" in the TS code, but instead use
> either "int" which is always 32-bits or "inkXXX" of a particular size.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira