1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

messing around with support for Windows path, cleanups, trying to identify

* include/libxml/xmlIO.h xmlIO.c parser.c HTMLparser.c DOCBparser.c:
  messing around with support for Windows path, cleanups,
  trying to identify and fix the various code path to the
  filename access. Added xmlNormalizeWindowsPath()
Daniel
This commit is contained in:
Daniel Veillard
2002-09-10 11:13:43 +00:00
parent cb7543bead
commit f4862f0f36
5 changed files with 120 additions and 23 deletions

View File

@ -4881,7 +4881,7 @@ htmlCreateFileParserCtxt(const char *filename, const char *encoding)
}
memset(inputStream, 0, sizeof(htmlParserInput));
inputStream->filename = xmlMemStrdup(filename);
inputStream->filename = xmlNormalizeWindowsPath(filename);
inputStream->line = 1;
inputStream->col = 1;
inputStream->buf = buf;