You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "John Plevyak (JIRA)" <ji...@apache.org> on 2010/05/04 23:21:03 UTC

[jira] Updated: (TS-14) InkAPI is not 64-bit clean

     [ https://issues.apache.org/jira/browse/TS-14?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Plevyak updated TS-14:
---------------------------

    Fix Version/s: 2.1.1
                       (was: 2.1.0)

match the other InkAPI issue TS-14

> InkAPI is not 64-bit clean
> --------------------------
>
>                 Key: TS-14
>                 URL: https://issues.apache.org/jira/browse/TS-14
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: InkAPI
>    Affects Versions: 2.0.0a
>         Environment: x86_64 linux
>            Reporter: John Plevyak
>             Fix For: 2.1.1
>
>
> This is different than the 64-bit port in that it effects the public API.  In particular there are functions which use 'int' where they should be using other types for things like sizes which could exceed 2^32, the 'int' size even on 64-bit linux.  Specifically:
> api/include/InkAPI.h:  inkapi int INKfread(INKFile filep, void *buf, int length);
> But a full review of the API should be conducted and the types updated.  In this case inku64, ink_off_t or most likely size_t would
> be more appropriate.  All of these are 64-bit on 64-bit linux.

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