On Thu, Oct 27, 2005 at 10:14:21PM -0500, Albert Chin wrote:
> On Thu, Oct 27, 2005 at 06:04:26AM -0400, Daniel Veillard wrote:
> >   Okay, what's the alternative ? Set str[size - 1] to 0 after va_end
> > and use chars = strlen() instead, then compare size with chars and
> > increase size if equals else break ? That should work I think on all 
> > platforms
> > avoiding a dependancy on a cornercase of the *printf behaviour that other
> > libc are likely to get wrong too.
> >   Would you design such a patch, I have little time for libxml2 ATM ?
> 
> How's this?

  Simpler, works for me !
I assume it also work for you, so commited :-)

  thanks !

Daniel

-- 
Daniel Veillard      | Red Hat http://redhat.com/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to