mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-08-10 09:03:02 +03:00
obsoleted xmlNormalizeWindowsPath
This commit is contained in:
@@ -547,13 +547,9 @@ main(int argc, char **argv)
|
|||||||
(!strcmp(argv[i], "-output")) ||
|
(!strcmp(argv[i], "-output")) ||
|
||||||
(!strcmp(argv[i], "--output"))) {
|
(!strcmp(argv[i], "--output"))) {
|
||||||
i++;
|
i++;
|
||||||
#if defined(WIN32) || defined (__CYGWIN__)
|
output = xmlCanonicPath(argv[i]);
|
||||||
output = xmlNormalizeWindowsPath(argv[i]);
|
|
||||||
if (output == NULL)
|
if (output == NULL)
|
||||||
output = xmlStrdup(argv[i]);
|
output = xmlStrdup(argv[i]);
|
||||||
#else
|
|
||||||
output = argv[i];
|
|
||||||
#endif
|
|
||||||
} else if ((!strcmp(argv[i], "-V")) ||
|
} else if ((!strcmp(argv[i], "-V")) ||
|
||||||
(!strcmp(argv[i], "-version")) ||
|
(!strcmp(argv[i], "-version")) ||
|
||||||
(!strcmp(argv[i], "--version"))) {
|
(!strcmp(argv[i], "--version"))) {
|
||||||
@@ -823,10 +819,8 @@ done:
|
|||||||
xsltFreeStylesheet(cur);
|
xsltFreeStylesheet(cur);
|
||||||
for (i = 0;i < nbstrparams;i++)
|
for (i = 0;i < nbstrparams;i++)
|
||||||
xmlFree(strparams[i]);
|
xmlFree(strparams[i]);
|
||||||
#if defined(WIN32) || defined (__CYGWIN__)
|
|
||||||
if (output != NULL)
|
if (output != NULL)
|
||||||
xmlFree(output);
|
xmlFree(output);
|
||||||
#endif
|
|
||||||
xsltFreeSecurityPrefs(sec);
|
xsltFreeSecurityPrefs(sec);
|
||||||
xsltCleanupGlobals();
|
xsltCleanupGlobals();
|
||||||
xmlCleanupParser();
|
xmlCleanupParser();
|
||||||
|
Reference in New Issue
Block a user