diff options
| author | Daniel Veillard <veillard@src.gnome.org> | 2001-03-27 12:47:33 +0000 |
|---|---|---|
| committer | Daniel Veillard <veillard@src.gnome.org> | 2001-03-27 12:47:33 +0000 |
| commit | 92ad210417f318c8f0142fd0aee8d2893d83b8e8 (patch) | |
| tree | 03308d8014ae764458f3cd79ebfc26211bde14ce /HTMLtree.c | |
| parent | 2be30641d1bc09321889b415cd0f5a2e24c1efb8 (diff) | |
| download | android_external_libxml2-92ad210417f318c8f0142fd0aee8d2893d83b8e8.tar.gz android_external_libxml2-92ad210417f318c8f0142fd0aee8d2893d83b8e8.tar.bz2 android_external_libxml2-92ad210417f318c8f0142fd0aee8d2893d83b8e8.zip | |
Spring cleanup ...: - configure.in Makefile.am config.h.in
Spring cleanup ...:
- configure.in Makefile.am config.h.in xmlversion.h.in: detect if
we need string functions
- trio.[ch] strio.[ch]: embedded the Trio-0.23 string functions
to be able to use them where needed. Applied some changes
to reduce name linking pollution and compile in only what's
needed.
- HTMLtree.c debugXML.c entities.c error.c nanoftp.c valid.c
xlink.c xmlversion.h.in xpath.c: got rid of the #ifdef
for the string manipulation functions
- xmlmemory.[ch]: removed DEBUG_MEMORY_FREED and added it automatically
to the free() function of xmlmemory.c
- entities.c HTMLtree.c parserInternals.c tree.c uri.c valid.c
xinclude.c xmlIO.c xpath.c xpointer.c: removed the MEM_CLEANUP
usage.
Daniel
Diffstat (limited to 'HTMLtree.c')
| -rw-r--r-- | HTMLtree.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -177,12 +177,8 @@ htmlSetMetaEncoding(htmlDocPtr doc, const xmlChar *encoding) { return(-1); if (encoding != NULL) { -#ifdef HAVE_SNPRINTF snprintf(newcontent, sizeof(newcontent), "text/html; charset=%s", encoding); -#else - sprintf(newcontent, "text/html; charset=%s", encoding); -#endif newcontent[sizeof(newcontent) - 1] = 0; } @@ -663,7 +659,6 @@ htmlDocDumpMemory(xmlDocPtr cur, xmlChar**mem, int *size) { htmlDocContentDump(buf, cur); *mem = buf->content; *size = buf->use; - MEM_CLEANUP(buf, sizeof(xmlBuffer)); xmlFree(buf); } |
