httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf S. Engelschall" <...@engelschall.com>
Subject Re: [PATCH] Expat patch #3
Date Fri, 21 May 1999 19:56:21 GMT

In article <Pine.LNX.3.96dg4.990521095534.13415K-100000@twinlark.arctic.org> you wrote:
> 
> On Fri, 21 May 1999, Jens-Uwe Mager wrote:
> 
>> On Fri, May 21, 1999 at 09:40:34AM -0700, Dean Gaudet wrote:
>> 
>> > Can't we just put the expat symbols into the export file on those systems?
>> 
>> Yep, as it is unlikely that you find that symbols in libc you could
>> simply export them. The trend to rename is mostly with symbols that
>> could conflict with libc, these systems tend to use symbols from libc
>> in preference to symbols imported from the main executable (in the
>> DSO/shlib case).
> 
> So we could get away with not renaming expat then?  (expat won't be part
> of libc on these systems... at least I hope it isn't :)
> 
> I'd be a lot happier not renaming expat.

"Renaming Expat"? We don't rename or change anything inside Expat, of course.
What we do is just to use ap_xml_xxx() wrapper functions which make sure all
Expat code is linked into the Apache core code. That's at least 100% portable
and doesn't suffer from any linker/export restrictions. And this way we've not
to link every DSO against the Expat library, of course.

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com

Mime
View raw message