You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/08/05 22:52:47 UTC
[jira] [Commented] (TS-2097) remove unused string functions
[ https://issues.apache.org/jira/browse/TS-2097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13729923#comment-13729923 ]
ASF subversion and git services commented on TS-2097:
-----------------------------------------------------
Commit 17ec6c208ea219dbe0479c9c44649d0fc89aa3c3 in branch refs/heads/master from [~i.galic]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=17ec6c2 ]
TS-2097 replace ink_string_copy() w/ ink_strlcpy()
we already have ink_strlcpy() in our reportoire, and ink_string_copy()
is only used twice. We replace those two occurances.
> remove unused string functions
> ------------------------------
>
> Key: TS-2097
> URL: https://issues.apache.org/jira/browse/TS-2097
> Project: Traffic Server
> Issue Type: Improvement
> Components: Core
> Reporter: Igor Galić
> Assignee: Igor Galić
> Fix For: 3.3.5
>
>
> remove unused string functions that we needlessly recreate.
> {code}
> int ink_string_is_prefix(char *prefix, char *str)
> char *ink_string_concatenate_two_strings(char *dest, char *s1, char *s2)
> {code}
> and many more..
> and then there's some inkcoreapi:
> {code}
> inkcoreapi char *ink_memcpy_until_char(char *dst, char *src, unsigned int n, unsigned char c);
> inkcoreapi char *ink_strncpy(char *dest, const char *src, int n);
> inkcoreapi char *ink_strncat(char *dest, const char *src, int n);
> inkcoreapi char *ink_string_concatenate_strings(char *dest, ...);
> inkcoreapi char *ink_string_concatenate_strings_n(char *dest, int n, ...);
> inkcoreapi char *ink_string_append(char *dest, char *src, int n);
> inkcoreapi char *ink_string_find_dotted_extension(char *str, char *ext, int max_ext_len);
> inkcoreapi int ink_strcasecmp(const char *a, const char *b);
> inkcoreapi int ink_strncasecmp(const char *a, const char *b, unsigned int max);
> {code}
--
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