On 10. 6. 25 16:01, Timofei Zhakov wrote:
On Mon, Jun 9, 2025 at 7:26 PM Branko Čibej <[email protected]> wrote:On 9. 6. 25 18:31, [email protected] wrote:Author: rinrab Date: Mon Jun 9 16:31:15 2025 New Revision: 1926293 URL:http://svn.apache.org/viewvc?rev=1926293&view=rev <http://svn.apache.org/viewvc?rev=1926293&view=rev> Log: Do not include apr_xlate.h into svn_utf.h, but manually wrap the SVN_APR_*_CHARSET constants into APR_*_CHARSET.-1. You can't presume that this will never change in APR. Fix the cmake build to handle include paths correctly. This is not that fix. Please revert. -- Brane I want to make sure that you entirely understand this change. SVN_APR_*_CHARSETfamily has nothing similar with APR_*_CHARSETsince they are being converted into APR constants through the get_apr_xlate_charset()function. This also means we can add our own shortcuts to SVN_APR_*_CHARSET, which I'm planning to do for UTF-8. As long as consumers of our library are not passing APR_*_CHARSETto our utf routines, we are all fine.
Yes. "As long as". This stuff has been in our public header since before Subversion was an ASF project. APR is and always has been part of Subversion's public interface.
It doesn't make us dependent on apr's constants. Please withdraw your veto.
You're changing a public header in a backward-incompatible way because the CMake build has broken include paths.
You don't see anything wrong with that? Looks to me like you got your priorities wrong.
-- Brane

