1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-08-07 10:42:55 +03:00

obsoleted xmlNormalizeWindowsPath

This commit is contained in:
Igor Zlatkovic
2003-02-19 15:04:05 +00:00
parent e26b9434c2
commit efa6575702

View File

@@ -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();