diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2001-02-02 08:20:19 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2001-02-02 08:20:19 +0000 |
commit | ea28ce621cc19a1444b98965a311693f0acdc7a6 (patch) | |
tree | 7ccc9703bea7f61fc9477ba8d2e8af9fbf5a1c24 /uri.c | |
parent | e99a4767228ceab5f9d4e7873067fa0223e7d8c4 (diff) | |
download | android_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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -641,6 +641,9 @@ xmlNormalizeURIPath(char *path) { */ if ((path[cur] == '.') && (path[cur + 1] == '/')) { cur += 2; + if (path[cur] == 0) { + path[out++] = 0; + } continue; } |