Re: [xml] Patches to 2.3.4

On Mon, Apr 09, 2001 at 03:10:09PM +0000, Bjorn Reese wrote:
xml thewrittenword com wrote:

to solve this at the library level. If the trio reimplentation of
snprintf and friends were compiled in, would they be exported symbols
to client programs? If so, I think that's a mistake. The clients
should be modified to deal correctly with the missing symbols.

Yes, the symbols are exported, but all symbols are prefixed by "trio_"
or "Str" so there should be no name collision or altered behaviour in
the applications using libxml and ANSI C stdio or string.

  Well actually that's part of the things I changed. I didn't want
to add trio_ prefixes in the code. Maybe a solution based on macros
in the xmlconfig.h header will allow to get back to a less patched trio
file and avoid exporting what should be a system funtion (IMHO this was
safe since linkers should not raise errors when 2 libraries exports
the same symbol, they will raise problem when this happen in .o files


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml Gnome XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]