+Wed Nov 16 12:47:25 CET 2005 Daniel Veillard <daniel@veillard.com>
+
+ * libexslt/functions.c: fix an problem raised by Ralf Junker in the
+ use of xmlHashScanFull() fixes bug #321582
+
Sun Nov 6 19:22:45 CET 2005 Daniel Veillard <daniel@veillard.com>
* libxslt/attrvt.c: added a missing parameter to a debug function
static void
exsltFuncRegisterFunc (exsltFuncFunctionData *data,
xsltTransformContextPtr ctxt,
- const xmlChar *URI, const xmlChar *name) {
+ const xmlChar *URI, const xmlChar *name,
+ ATTRIBUTE_UNUSED const xmlChar *ignored) {
if ((data == NULL) || (ctxt == NULL) || (URI == NULL) || (name == NULL))
return;
static void
exsltFuncRegisterImportFunc (exsltFuncFunctionData *data,
exsltFuncImportRegData *ch,
- const xmlChar *URI, const xmlChar *name) {
+ const xmlChar *URI, const xmlChar *name,
+ ATTRIBUTE_UNUSED const xmlChar *ignored) {
exsltFuncFunctionData *func=NULL;
if ((data == NULL) || (ch == NULL) || (URI == NULL) || (name == NULL))
return;
/* Check if already present */
- func = (exsltFuncFunctionData*)xmlHashLookup2(ch->hash,
- URI, name);
+ func = (exsltFuncFunctionData*)xmlHashLookup2(ch->hash, URI, name);
if (func == NULL) { /* Not yet present - copy it in */
func = exsltFuncNewFunctionData();
memcpy(func, data, sizeof(exsltFuncFunctionData));