summarylogtreecommitdiffstats
path: root/mingw32-libxslt-use-correct-mkdir.patch
blob: 6f58d374671c51df9da2e3cf02293b51db0afa7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- libxslt/security.c.orig	2010-10-13 15:42:00.790273503 +0200
+++ libxslt/security.c	2010-10-13 15:42:34.425556664 +0200
@@ -343,7 +343,11 @@
 	    }
 	    ret = xsltCheckWritePath(sec, ctxt, directory);
 	    if (ret == 1)
+#ifdef WIN32
+		ret = mkdir(directory);
+#else
 		ret = mkdir(directory, 0755);
+#endif
 	}
 	xmlFree(directory);
 	if (ret < 0)