[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdesupport/libxml
From: George Staikos <staikos () kde ! org>
Date: 2003-09-29 23:27:02
[Download RAW message or body]
CVS commit by staikos:
Attempt #2 at AIX compilation
M +3 -3 parser.c 1.10
M +11 -3 include/libxml/parser.h 1.9
--- kdesupport/libxml/parser.c #1.9:1.10
@@ -348,5 +348,5 @@ xmlSkipBlankChars(xmlParserCtxtPtr ctxt)
* if we are in the document content, go really fast
*/
- cur = ctxt->input->cur;
+ cur = (const xmlChar *)ctxt->input->cur;
while (IS_BLANK(*cur)) {
if (*cur == '\n') {
@@ -358,5 +358,5 @@ xmlSkipBlankChars(xmlParserCtxtPtr ctxt)
ctxt->input->cur = cur;
xmlParserInputGrow(ctxt->input, INPUT_CHUNK);
- cur = ctxt->input->cur;
+ cur = (const xmlChar *)ctxt->input->cur;
}
}
@@ -986,5 +986,5 @@ xmlStringDecodeEntities(xmlParserCtxtPtr
} else if (ent != NULL) {
int i = xmlStrlen(ent->name);
- const xmlChar *cur = ent->name;
+ const xmlChar *cur = (const xmlChar *)ent->name;
buffer[nbchars++] = '&';
--- kdesupport/libxml/include/libxml/parser.h #1.8:1.9
@@ -679,9 +679,17 @@ xmlChar * xmlStrsub (const xmlChar *str
int start,
int len);
-const xmlChar * xmlStrchr (const xmlChar *str,
+
+#ifdef _AIX
+/* braindamage */
+#define MAYBECONST
+#else
+#define MAYBECONST const
+#endif
+
+MAYBECONST xmlChar * xmlStrchr (const xmlChar *str,
xmlChar val);
-const xmlChar * xmlStrstr (const xmlChar *str,
+MAYBECONST xmlChar * xmlStrstr (const xmlChar *str,
const xmlChar *val);
-const xmlChar * xmlStrcasestr (const xmlChar *str,
+MAYBECONST xmlChar * xmlStrcasestr (const xmlChar *str,
xmlChar *val);
int xmlStrcmp (const xmlChar *str1,
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic