diff --git a/ChangeLog b/ChangeLog index 3edfd3e0..1df29837 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sun Aug 25 16:38:05 CEST 2002 Daniel Veillard + + * xmlIO.c: handle Windows sepecific file://localhost/ semantic ... + Thu Aug 22 22:03:19 CEST 2002 Daniel Veillard * xpath.c: possible mem leak patch from Jason Adams diff --git a/xmlIO.c b/xmlIO.c index a3d73c34..1c2a1226 100644 --- a/xmlIO.c +++ b/xmlIO.c @@ -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];