Re: [xml] Tru64 UNIX 5.1/IRIX 6.5 test suite errors



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/
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]