Dohhhhhh: - xmliO.c: Harry Blundell pointed out that xmlCheckFilename
Dohhhhhh:
- xmliO.c: Harry Blundell pointed out that xmlCheckFilename
xmlCheckFilename should not be called from xmlFileOpenW
and xmlGzfileOpenW
Daniel
diff --git a/ChangeLog b/ChangeLog
index 00a7035..b20ade8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sat Feb 3 09:50:29 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
+
+ * xmliO.c: Harry Blundell pointed out that xmlCheckFilename
+ xmlCheckFilename should not be called from xmlFileOpenW
+ and xmlGzfileOpenW
+
Fri Feb 2 18:04:35 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* uri.c: rewrite of xmlNormalizeURIPath from Paul D. Smith
diff --git a/xmlIO.c b/xmlIO.c
index d1554c2..290ceab 100644
--- a/xmlIO.c
+++ b/xmlIO.c
@@ -368,8 +368,6 @@
if (path == NULL)
return(NULL);
- if (!xmlCheckFilename(path))
- return(NULL);
fd = fopen(path, "w");
return((void *) fd);
@@ -512,8 +510,6 @@
if (path == NULL)
return(NULL);
- if (!xmlCheckFilename(path))
- return(NULL);
fd = gzopen(path, mode);
return((void *) fd);
diff --git a/xpath.c b/xpath.c
index 5932b27..08ed5ac 100644
--- a/xpath.c
+++ b/xpath.c
@@ -5464,7 +5464,6 @@
* xmlXPathEvaluatePredicateResult:
* @ctxt: the XPath Parser context
* @res: the Predicate Expression evaluation result
- * @index: index of the current node in the current list
*
* Evaluate a predicate result for the current node.
* A PredicateExpr is evaluated by evaluating the Expr and converting
@@ -5474,6 +5473,8 @@
* function) and will be converted to false otherwise; if the result
* is not a number, then the result will be converted as if by a call
* to the boolean function.
+ *
+ * Return 1 if predicate is true, 0 otherwise
*/
int
xmlXPathEvaluatePredicateResult(xmlXPathParserContextPtr ctxt,