Re: [xml] Use of 'strdup' in xmlmemory.c?



Daniel Veillard wrote:

So, HAVE_STRDUP if  *undefined*  in "config.h", trio support is  *enabled*
in "xmlversion.h" (although i don't know if trio cares about 'strdup()').

  I don't think so.

Confirmed. Trio has its own strdup (called StrDuplicate now, will be called
trio_duplicate in the future) precisely because the function is not ANSI C
(it is not even Posix, but XPG4v2).



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]