Re: [xml] clean use of HAVE_SNPRINTF

Date view Thread view Subject view Author view

From: acassin@cs.mu.OZ.AU
Date: Thu Feb 10 2000 - 17:57:10 EST


On 10 Feb, Lutz Behnke wrote:
> Hi there,
>
> libxml-1.8.6 fails to link properly to the example prgs, and will generaly fail
> to link on Solaris 2.5.1, since this backwater OS does not support 'snprintf'
> as the glorious glibcs does B-)
>
> I have included a small patch to add the missing code mainly to nanohttp.c
>
> I have looked into the archive wether somebody allready submitted this, but
> could not find any mention. But since I also failed to make the connection from
> i18n to encode B-) I might be in repetition on this as well.

An alternate solution (perhaps undesirable for libxml) is to link with
-lgnomesupport as this should include an implementation of snprintf for
 those platforms which do not provide one.

Andrew Cassin
acassin@cs.mu.oz.au

----
Message from the list xml@xmlsoft.org
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@xmlsoft.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:30:02 EDT