diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2016-03-03 16:11:16 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2016-03-03 16:11:16 +0000 |
commit | ec251df06a81c8696b7b1c00da8021bd4b4f3878 (patch) | |
tree | 1b0b6b8c8acc97971bf07706523b014b79838e3e /network_io | |
parent | 8b7b952e403a985a590c8de7fa2b283dbdf585b0 (diff) | |
download | apr-ec251df06a81c8696b7b1c00da8021bd4b4f3878.tar.gz |
Introduce the subset of svn_cstring_ functions into APR as the apr_cstr_
family of functions. Requires the introduction of APR_ERANGE.
Solves apr_cstr_casecmp[n] for ASCII and EBCDIC and borrows
from the work of jim, ylavic and wrowe, see r1715401 forwards in;
http://svn.apache.org/viewvc/httpd/httpd/trunk/server/util.c?view=log&pathrev=1722194
More performance review is needed against different compilers, so went ahead
and borrowed original svn implementation as a basis, and we can port whichever
performance enhancements test out more efficiently.
Proposing for APR 1.6.0 which is the thought behind the initial @since tags.
These must be changed if not accepted for backport.
Note that the svn_cstring_join function could not be implemented as-is
due to the absence of svn's counted string functionality. It deserves
an implementation if not already present, or should be removed before
tagging or backporting.
No whitespace/formatting cleanup on this pass in order to preserve as
much of the svn attributions as possible. This can happen in a later
pass to conform to APR's style conventions.
Corrections to the language of the function behavior by jim, wrowe, mrumph.
Adapted to apr by wrowe, but this represents a collaboration by many at svn,
so I have avoiding claiming credit in CHANGES.
Backports: r1726928, r1727020, r1727160, r1727175, r1727199, r1728957
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1733488 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'network_io')
0 files changed, 0 insertions, 0 deletions