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 2016/06/23 23:43:16 UTC

[jira] [Updated] (TS-3816) Should we replace ptr_len_cmp() with memcmp() consistently?

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

Leif Hedstrom updated TS-3816:
------------------------------
    Assignee: Tyler Stroh  (was: Meera Mosale Nataraja)

> Should we replace ptr_len_cmp() with memcmp() consistently?
> -----------------------------------------------------------
>
>                 Key: TS-3816
>                 URL: https://issues.apache.org/jira/browse/TS-3816
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Leif Hedstrom
>            Assignee: Tyler Stroh
>              Labels: newbie++
>             Fix For: sometime
>
>
> In most places, we already use memcmp(), but we have our own implementation / wrapper named ptr_len_cmp(), which is used in a few places. This seems rather inconsistent, so either we use ptr_len_cmp() consistently, or just use memcmp() across the board.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)