blob: fae4db1ec3c1832a75a2465b91f5a837391790f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
This file is part of MXE. See LICENSE.md for licensing information.
Contains ad hoc patches for cross building.
From 5cdef88cc0bd288b4814509062234b72d27dc176 Mon Sep 17 00:00:00 2001
From: MXE
Date: Tue, 05 Jul 2016 21:12:38 +0300
Subject: [PATCH] fix for deprecated mkdir
diff --git a/libxslt/security.c b/libxslt/security.c
index 965175f..be36f4b 100644
--- a/libxslt/security.c
+++ b/libxslt/security.c
@@ -343,7 +343,7 @@ xsltCheckWritePath(xsltSecurityPrefsPtr sec,
}
ret = xsltCheckWritePath(sec, ctxt, directory);
if (ret == 1)
- ret = mkdir(directory, 0755);
+ ret = _mkdir(directory);
}
xmlFree(directory);
if (ret < 0)
--
1.8.2.3
|