Re: [xml] Patches to 2.3.4
- From: Daniel Veillard <veillard redhat com>
- To: xml gnome org
- Subject: Re: [xml] Patches to 2.3.4
- Date: Tue, 27 Mar 2001 08:09:04 -0500
On Wed, Mar 21, 2001 at 11:58:56AM -0600, xml thewrittenword com wrote:
1. On Solaris 2.5.1 and IRIX 6.2, snprintf is *not* available. So,
I copied in the snprintf.c from the Samba distribution and
added an autoconf test to compile and link it into libxml2.
If we do not link snprintf into libxml2, then *every* program
that links against libxml2 will need snprintf.c compiled into
it (like xmllint).
Okay since I also got a report that 2.3.5 was simply crashing
because of those issues:
http://bugzilla.gnome.org/show_bug.cgi?id=52538
I have tried to get rid for good of this string functions
portability and the security nightmare of using sprintf or vsprintf.
Basically I will follow your approach i.e. embedd rimplementation
of the missing functions, except I will try to use the trio library
of string functions:
http://sourceforge.net/projects/ctrio/
Main argument for selecting those is that Bjorn Reese is one of the
coauthors and hence we have pretty good chance to get things fixed
promptly in case of troubles.
I have put an updated test distribution at:
ftp://xmlsoft.org/test/libxml2-2.3.5.tar.gz
and i would really like feedback on the portability of the resulting code.
This is a rather large change and I would prefer early feedback before
making a full release with this,
thanks in advance,
Daniel
--
Daniel Veillard | Red Hat Network http://redhat.com/products/network/
veillard redhat com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]