Re: AW: AW: AW: [xml] xmlTextWriter



On Wed, Oct 08, 2003 at 11:12:53AM +0200, Mickautsch, Alfred wrote:
M$:
_vsnprintf and _vsnwprintf return the number of characters written, not including the terminating null 
character, or a negative value if an output error occurs. For _vsnprintf, if the number of bytes to write 
exceeds buffer, then count bytes are written and -1 is returned.

See what I mean? And there exist other variations too.

  yes, that's called a broken infrastructure... get a real vsnprintf,

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.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]