summaryrefslogtreecommitdiff
path: root/DOCBparser.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2002-09-10 11:13:43 +0000
committerDaniel Veillard <veillard@src.gnome.org>2002-09-10 11:13:43 +0000
commitf4862f0f3626786512ae1cc891aa70dc0116d28b (patch)
treef439c1da0647046a07e4ad365444c4e0d55af4c2 /DOCBparser.c
parentcb7543bead27f6c1409b79465871439d4a782848 (diff)
downloadlibxml2-f4862f0f3626786512ae1cc891aa70dc0116d28b.tar.gz
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
Diffstat (limited to 'DOCBparser.c')
-rw-r--r--DOCBparser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/DOCBparser.c b/DOCBparser.c
index e1d20c58..ddb08a2e 100644
--- a/DOCBparser.c
+++ b/DOCBparser.c
@@ -6025,7 +6025,7 @@ docbCreateFileParserCtxt(const char *filename,
}
memset(inputStream, 0, sizeof(docbParserInput));
- inputStream->filename = xmlMemStrdup(filename);
+ inputStream->filename = xmlNormalizeWindowsPath(filename);
inputStream->line = 1;
inputStream->col = 1;
inputStream->buf = buf;