On Sat, 5 Sep 2020 at 08:15, <wr...@apache.org> wrote: > Author: wrowe > Date: Sat Sep 5 05:15:52 2020 > New Revision: 1881476 > > URL: http://svn.apache.org/viewvc?rev=1881476&view=rev > Log: > Restore deprecated function names for httpd and tcnative > > - apr_conv_utf8_to_ucs2 and apr_conv_ucs2_to_utf8 functions are used by > both httpd and the tomcat tcnative connector > > - if ever exposed as public and platform agnostic, the archaic 'ucs2' > forms > should be dropped at that time > > > Modified: > apr/apr/trunk/include/arch/win32/apr_arch_utf8.h > > Modified: apr/apr/trunk/include/arch/win32/apr_arch_utf8.h > URL: > http://svn.apache.org/viewvc/apr/apr/trunk/include/arch/win32/apr_arch_utf8.h?rev=1881476&r1=1881475&r2=1881476&view=diff > > ============================================================================== > --- apr/apr/trunk/include/arch/win32/apr_arch_utf8.h (original) > +++ apr/apr/trunk/include/arch/win32/apr_arch_utf8.h Sat Sep 5 05:15:52 > 2020 > @@ -41,6 +41,11 @@ APR_DECLARE(apr_status_t) apr_conv_utf8_ > apr_size_t *outwords); > > /** > + * @deprecated @see apr_conv_utf8_to_utf16 > + */ > +#define apr_conv_utf8_to_ucs2(in, inbytes, out, outwords) > apr_conv_utf8_to_utf16(in, inbytes, out, outwords) > As far as I understand this doesn't fix ABI compatibility: applications linked with older APR cannot be used with newer one.
-- Ivan Zhakov