summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--xsltproc/xsltproc.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 32102e72..b7d16606 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu May 16 19:38:24 CEST 2002 Daniel Veillard <daniel@veillard.com>
+
+ * xsltproc/xsltproc.c: moved the extension dump out of the loop
+
Thu May 16 19:31:35 CEST 2002 Daniel Veillard <daniel@veillard.com>
* libxslt/extensions.[ch] xsltproc/xsltproc.c win32/libxslt.def.src:
diff --git a/xsltproc/xsltproc.c b/xsltproc/xsltproc.c
index 3fff5a87..843d4c5d 100644
--- a/xsltproc/xsltproc.c
+++ b/xsltproc/xsltproc.c
@@ -574,6 +574,9 @@ main(int argc, char **argv)
exsltRegisterAll();
xsltRegisterTestModule();
+ if (dumpextensions)
+ xsltDebugDumpExtensions(NULL);
+
for (i = 1; i < argc; i++) {
if ((!strcmp(argv[i], "-maxdepth")) ||
(!strcmp(argv[i], "--maxdepth"))) {
@@ -594,9 +597,6 @@ main(int argc, char **argv)
i += 2;
continue;
}
- if (dumpextensions)
- xsltDebugDumpExtensions(NULL);
-
if ((argv[i][0] != '-') || (strcmp(argv[i], "-") == 0)) {
if (timing)
startTimer();