mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 18:55:29 +03:00
check-dev needed to run the full test suite Add a backport from upstream and a musl integration patch
31 lines
1 KiB
Diff
31 lines
1 KiB
Diff
--- 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>
|