aboutsummaryrefslogtreecommitdiffstats
path: root/uri.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-02-02 08:20:19 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-02-02 08:20:19 +0000
commitea28ce621cc19a1444b98965a311693f0acdc7a6 (patch)
tree7ccc9703bea7f61fc9477ba8d2e8af9fbf5a1c24 /uri.c
parente99a4767228ceab5f9d4e7873067fa0223e7d8c4 (diff)
downloadandroid_external_libxml2-ea28ce621cc19a1444b98965a311693f0acdc7a6.tar.gz
android_external_libxml2-ea28ce621cc19a1444b98965a311693f0acdc7a6.tar.bz2
android_external_libxml2-ea28ce621cc19a1444b98965a311693f0acdc7a6.zip
- uri.c: applied Marc Sanfacon's patch for xmlNormalizeURIPath
Daniel
Diffstat (limited to 'uri.c')
-rw-r--r--uri.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/uri.c b/uri.c
index 1ef6687a..536652d3 100644
--- a/uri.c
+++ b/uri.c
@@ -641,6 +641,9 @@ xmlNormalizeURIPath(char *path) {
*/
if ((path[cur] == '.') && (path[cur + 1] == '/')) {
cur += 2;
+ if (path[cur] == 0) {
+ path[out++] = 0;
+ }
continue;
}