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

Leif Hedstrom updated TS-14:
----------------------------

    Fix Version/s: 2.1.0

> 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.0
>
>
> 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.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to