diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2002-08-25 14:39:16 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2002-08-25 14:39:16 +0000 |
commit | b212bbbc888234d3bd8d095b541854654314f6b3 (patch) | |
tree | 21faf7c482902804f307ee7764406cc5605354d8 /xmlIO.c | |
parent | 42766c0eea0fa40c7b721fa4c9cf56b4c484b4c7 (diff) | |
download | android_external_libxml2-b212bbbc888234d3bd8d095b541854654314f6b3.tar.gz android_external_libxml2-b212bbbc888234d3bd8d095b541854654314f6b3.tar.bz2 android_external_libxml2-b212bbbc888234d3bd8d095b541854654314f6b3.zip |
handle Windows sepecific file://localhost/ semantic ... Daniel
* xmlIO.c: handle Windows sepecific file://localhost/ semantic ...
Daniel
Diffstat (limited to 'xmlIO.c')
-rw-r--r-- | xmlIO.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -297,7 +297,11 @@ xmlFileOpen (const char *filename) { } if (!xmlStrncasecmp(BAD_CAST filename, BAD_CAST "file://localhost", 16)) +#if defined (_WIN32) && !defined(__CYGWIN__) + path = &filename[17]; +#else path = &filename[16]; +#endif else if (!xmlStrncasecmp(BAD_CAST filename, BAD_CAST "file:///", 8)) { #if defined (_WIN32) && !defined(__CYGWIN__) path = &filename[8]; |