diff options
author | Igor Zlatkovic <igor@src.gnome.org> | 2003-02-19 15:04:05 +0000 |
---|---|---|
committer | Igor Zlatkovic <igor@src.gnome.org> | 2003-02-19 15:04:05 +0000 |
commit | efa657570264176cef32016603b416b199d2a75a (patch) | |
tree | b8f30312f3c9cc08664b4b1a63f80dd357721adb /xsltproc | |
parent | e26b9434c289e99f1363ffa871129e2fbdacacc2 (diff) | |
download | libxslt-efa657570264176cef32016603b416b199d2a75a.tar.gz libxslt-efa657570264176cef32016603b416b199d2a75a.tar.bz2 libxslt-efa657570264176cef32016603b416b199d2a75a.zip |
obsoleted xmlNormalizeWindowsPath
Diffstat (limited to 'xsltproc')
-rw-r--r-- | xsltproc/xsltproc.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/xsltproc/xsltproc.c b/xsltproc/xsltproc.c index 5a9682bb..a7287181 100644 --- a/xsltproc/xsltproc.c +++ b/xsltproc/xsltproc.c @@ -547,13 +547,9 @@ main(int argc, char **argv) (!strcmp(argv[i], "-output")) || (!strcmp(argv[i], "--output"))) { i++; -#if defined(WIN32) || defined (__CYGWIN__) - output = xmlNormalizeWindowsPath(argv[i]); + output = xmlCanonicPath(argv[i]); if (output == NULL) output = xmlStrdup(argv[i]); -#else - output = argv[i]; -#endif } else if ((!strcmp(argv[i], "-V")) || (!strcmp(argv[i], "-version")) || (!strcmp(argv[i], "--version"))) { @@ -823,10 +819,8 @@ done: xsltFreeStylesheet(cur); for (i = 0;i < nbstrparams;i++) xmlFree(strparams[i]); -#if defined(WIN32) || defined (__CYGWIN__) if (output != NULL) xmlFree(output); -#endif xsltFreeSecurityPrefs(sec); xsltCleanupGlobals(); xmlCleanupParser(); |