aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ding-libs/musl-fixes.patch
blob: 6855a3b86cc28f30c1f55c46e406676904b57705 (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
27
28
29
30
31
--- ding-libs-0.6.1/ini/ini_validators_ut_check.c
+++ ding-libs-0.6.1-musl/ini/ini_validators_ut_check.c
@@ -606,7 +606,7 @@
     ret = strcmp(errmsg,
                  "[rule/options_for_foo]: Cannot compile regular expression "
                  "from option 'section_re'. "
-                 "Error: 'Unmatched [ or [^'");
+                 "Error: 'Missing ']''");
     fail_unless(ret == 0, "Got msg: [%s]", errmsg);
     ini_errobj_next(errobj);
 
@@ -1027,7 +1027,7 @@
     errmsg = ini_errobj_get_msg(errobj);
     ret = strcmp(errmsg,
                  "[rule/section_list]: Validator failed to use regex "
-                 "[^foo\\(*$]:[Unmatched ( or \\(]");
+                 "[^foo\\(*$]:[Missing ')']");
     fail_unless(ret == 0, "Got msg: [%s]", errmsg);
     ini_errobj_next(errobj);
 
--- ding-libs-0.6.1/path_utils/path_utils.c
+++ ding-libs-0.6.1-musl/path_utils/path_utils.c
@@ -31,7 +31,7 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <dirent.h>
-#include <sys/errno.h>
+#include <errno.h>
 #include <sys/stat.h>
 
 #include <libgen.h>