libxml2 r3699 - trunk



Author: veillard
Date: Tue Mar  4 13:19:49 2008
New Revision: 3699
URL: http://svn.gnome.org/viewvc/libxml2?rev=3699&view=rev

Log:
* xmlwriter.c: patch from Alex Khesin fixing CDATA output after
  a text node.
* parser.c: fixed the comment for xmlParserCleanup
* globals.c: fixed indentation
Daniel


Modified:
   trunk/ChangeLog
   trunk/globals.c
   trunk/parser.c
   trunk/xmlwriter.c

Modified: trunk/globals.c
==============================================================================
--- trunk/globals.c	(original)
+++ trunk/globals.c	Tue Mar  4 13:19:49 2008
@@ -60,7 +60,7 @@
 	xmlFreeMutex(xmlThrDefMutex);
 	xmlThrDefMutex = NULL;
     }
-	__xmlGlobalInitMutexDestroy();
+    __xmlGlobalInitMutexDestroy();
 }
 
 /************************************************************************

Modified: trunk/parser.c
==============================================================================
--- trunk/parser.c	(original)
+++ trunk/parser.c	Tue Mar  4 13:19:49 2008
@@ -12956,7 +12956,7 @@
  * It doesn't deallocate any document related memory. Calling this
  * function should not prevent reusing the library but one should
  * call xmlCleanupParser() only when the process has
- * finished using the library or XML document built with it.
+ * finished using the library and all XML document built with it.
  */
 
 void

Modified: trunk/xmlwriter.c
==============================================================================
--- trunk/xmlwriter.c	(original)
+++ trunk/xmlwriter.c	Tue Mar  4 13:19:49 2008
@@ -2614,6 +2614,7 @@
         if (p != 0) {
             switch (p->state) {
                 case XML_TEXTWRITER_NONE:
+		case XML_TEXTWRITER_TEXT:
                 case XML_TEXTWRITER_PI:
                 case XML_TEXTWRITER_PI_TEXT:
                     break;



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