You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2013/05/03 05:34:16 UTC
[jira] [Updated] (TS-228) 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
[ https://issues.apache.org/jira/browse/TS-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Peach updated TS-228:
---------------------------
Fix Version/s: (was: 3.5.0)
3.3.3
Assignee: James Peach (was: John Plevyak)
> 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
> ----------------------------------------------------------------------------------------------------------------
>
> 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.3.3
>
>
> 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