[jira] [Commented] (TS-1773) Consistently use ink_atoi() (or one of the equivalent functions we provide)
[ https://issues.apache.org/jira/browse/TS-1773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15625634#comment-15625634 ] Alan M. Carroll commented on TS-1773: - My proposed man page is attached. > Consistently use ink_atoi() (or one of the equivalent functions we provide) > --- > > Key: TS-1773 > URL: https://issues.apache.org/jira/browse/TS-1773 > Project: Traffic Server > Issue Type: Bug > Components: Core >Reporter: Leif Hedstrom >Assignee: Meera Mosale Nataraja > Labels: newbie > Fix For: 7.1.0 > > > Most of the code uses ink_atoi(), we should make sure we do so consistently. > In addition, perhaps we want to expose our internal version to plugin APIs, > since it does have additional features compared to atoi() / strtol(). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TS-1773) Consistently use ink_atoi() (or one of the equivalent functions we provide)
[ https://issues.apache.org/jira/browse/TS-1773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15488335#comment-15488335 ] Alan M. Carroll commented on TS-1773: - We probably want a single base implementation with potentially wrappers to simplify the interface. A minimal set of features for the base version * Can take a pointer and length, not require null termination. * Returns the number of characters parsed, or a pointer to the first unparsed character (like strtol) * Works with 64 bit numbers > Consistently use ink_atoi() (or one of the equivalent functions we provide) > --- > > Key: TS-1773 > URL: https://issues.apache.org/jira/browse/TS-1773 > Project: Traffic Server > Issue Type: Bug > Components: Core >Reporter: Leif Hedstrom >Assignee: Meera Mosale Nataraja > Labels: newbie > Fix For: 7.1.0 > > > Most of the code uses ink_atoi(), we should make sure we do so consistently. > In addition, perhaps we want to expose our internal version to plugin APIs, > since it does have additional features compared to atoi() / strtol(). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TS-1773) Consistently use ink_atoi() (or one of the equivalent functions we provide)
[ https://issues.apache.org/jira/browse/TS-1773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14582391#comment-14582391 ] Leif Hedstrom commented on TS-1773: --- Meera, talk to Alan M. Carroll regarding this, and lets aim for 6.1.0 release. Consistently use ink_atoi() (or one of the equivalent functions we provide) --- Key: TS-1773 URL: https://issues.apache.org/jira/browse/TS-1773 Project: Traffic Server Issue Type: Bug Components: Core Reporter: Leif Hedstrom Assignee: Meera Mosale Nataraja Fix For: 6.1.0 Most of the code uses ink_atoi(), we should make sure we do so consistently. In addition, perhaps we want to expose our internal version to plugin APIs, since it does have additional features compared to atoi() / strtol(). -- This message was sent by Atlassian JIRA (v6.3.4#6332)