expat/lib xmlparse.c,1.77,1.78

"Fred L. Drake" <[email protected]>
Newsgroups gmane.text.xml.expat.cvs
Message-ID <[email protected]>
Update of /cvsroot/expat/expat/lib
In directory usw-pr-cvs1:/tmp/cvs-serv10484

Modified Files:
	xmlparse.c 
Log Message:
Comments should be sentences, and sentences should be capitalized and
end with punctuation.


Index: xmlparse.c
===================================================================
RCS file: /cvsroot/expat/expat/lib/xmlparse.c,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -d -r1.77 -r1.78
--- xmlparse.c	27 Aug 2002 20:45:27 -0000	1.77
+++ xmlparse.c	27 Aug 2002 21:09:14 -0000	1.78
@@ -1609,10 +1609,10 @@
   return features;
 }
 
-/* initially tag->rawName always points into the parse buffer;
+/* Initially tag->rawName always points into the parse buffer;
    for those TAG instances opened while the current parse buffer was
    processed, and not yet closed, we need to store tag->rawName in a more
-   permanent location, since the parse buffer is about to be discarded
+   permanent location, since the parse buffer is about to be discarded.
 */
 static XML_Bool
 storeRawNames(XML_Parser parser)
@@ -1622,11 +1622,11 @@
     int bufSize;
     int nameLen = sizeof(XML_Char) * (tag->name.strLen + 1);
     char *rawNameBuf = tag->buf + nameLen;
-    /* stop if already stored */
+    /* Stop if already stored. */
     if (tag->rawName == rawNameBuf) 
       break;
-    /* for re-use purposes we need to ensure that the
-       size of tag->buf is a multiple of sizeof(XML_Char)
+    /* For re-use purposes we need to ensure that the
+       size of tag->buf is a multiple of sizeof(XML_Char).
     */
     bufSize = nameLen + ROUND_UP(tag->rawNameLength, sizeof(XML_Char));
     if (bufSize > tag->bufEnd - tag->buf) {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.