summaryrefslogtreecommitdiff
path: root/libxml2
diff options
context:
space:
mode:
authorJesús Corrius <jesus@softcatala.org>2012-02-01 14:42:58 +0100
committerJesús Corrius <jesus@softcatala.org>2012-02-01 14:43:37 +0100
commit7be0cc289d9745e0842c4fa6c0a6ac3450f3801b (patch)
tree5b349b17cc872dfb45ef5ec73a6ba2eec27a37ef /libxml2
parente8b7f1faaf3b0fd837a236a4a53d0f7392723713 (diff)
A few safe replacements of pathes->paths
Diffstat (limited to 'libxml2')
-rw-r--r--libxml2/libxml2-long-path.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/libxml2/libxml2-long-path.patch b/libxml2/libxml2-long-path.patch
index bd888d99e183..c27dbe1ec280 100644
--- a/libxml2/libxml2-long-path.patch
+++ b/libxml2/libxml2-long-path.patch
@@ -8,7 +8,7 @@
+#if defined(_WIN32)
+ //We must not change the backslashes to slashes if the the path starts with
+ // \\?\
-+ //Those pathes can be up to 32k characters long.
++ //Those paths can be up to 32k characters long.
+ len = xmlStrlen(path);
+ if ((len > 3) && (path[0] == '\\') && (path[1] == '\\') && (path[2] == '?') && (path[3] == '\\') )
+ return xmlStrdup((const xmlChar *) path);