apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curt Arnold <carn...@apache.org>
Subject Re: Collision with Subversion when using apr-iconv on Windows
Date Tue, 15 Mar 2005 16:07:41 GMT
iconv modules compiled using apr-0.9.x are not compatible with  
applications build with apr-1.x.  The crash is likely occurring when a  
passed in apr_pool_t from the 1.x implementation used by the caller is  
passed to the uninitialized apr-0.9.x implementation referenced by the  
module.  The environment variable approach doesn't distinguish between  
0.9 and 1.x compatible modules.

In log4cxx, the module approach wasn't desirable since it would make  
distribution more complicated and there is vanishingly small need for  
users to be able to add additional encodings.  Since the app was C++, I  
could play namespace tricks to compile all the modules into the main  
program (after adding some missing casts needed to get the code to  
compile in C++) and then fake out the iconv_dlopen method.  See  
rev=1.2&view=log and  
-1.0.1.patch?rev=1.1&view=log for details.

View raw message