summaryrefslogtreecommitdiff
path: root/xsltproc
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-02-24 22:50:35 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-02-24 22:50:35 +0000
commit44d74fd9371c895ea1a195fd8d0686c1fecb9937 (patch)
tree6ada28fc75307375f89de5b5fe5abbe2aedf46e7 /xsltproc
parent5f743d36c967e730cc9942de0455e232d106487e (diff)
downloadlibxslt-44d74fd9371c895ea1a195fd8d0686c1fecb9937.tar.gz
libxslt-44d74fd9371c895ea1a195fd8d0686c1fecb9937.tar.bz2
libxslt-44d74fd9371c895ea1a195fd8d0686c1fecb9937.zip
had to comment out Igor last change since it made libxslt-1.0.27 depends
* xsltproc/xsltproc.c: had to comment out Igor last change since it made libxslt-1.0.27 depends on libxml2 newly API extension which hasn't propagated yet :-( Daniel
Diffstat (limited to 'xsltproc')
-rw-r--r--xsltproc/xsltproc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xsltproc/xsltproc.c b/xsltproc/xsltproc.c
index a7287181..e15fbb4a 100644
--- a/xsltproc/xsltproc.c
+++ b/xsltproc/xsltproc.c
@@ -547,8 +547,10 @@ main(int argc, char **argv)
(!strcmp(argv[i], "-output")) ||
(!strcmp(argv[i], "--output"))) {
i++;
+#if defined(WIN32) || defined (__CYGWIN__)
output = xmlCanonicPath(argv[i]);
if (output == NULL)
+#endif
output = xmlStrdup(argv[i]);
} else if ((!strcmp(argv[i], "-V")) ||
(!strcmp(argv[i], "-version")) ||