1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-15 20:25:17 +03:00
aports/testing/ding-libs/musl-fixes.patch
Henrik Riomar f9519305bf testing/ding-libs: upgrade to 0.6.2
path_utils_ut-allow-single-as-well.patch now included in upstream

Upstream have switched from pagure to github
2022-06-26 10:18:59 +00:00

31 lines
1.2 KiB
Diff

--- a/ini/ini_validators_ut_check.c
+++ b/ini/ini_validators_ut_check.c
@@ -608,7 +608,7 @@ START_TEST(test_ini_allowed_options_wrong_regex)
ret = strcmp(errmsg,
"[rule/options_for_foo]: Cannot compile regular expression "
"from option 'section_re'. "
- "Error: 'Unmatched [ or [^'");
+ "Error: 'Missing ']''");
if (ret != 0) {
ret = strcmp(errmsg,
"[rule/options_for_foo]: Cannot compile regular "
@@ -1042,7 +1042,7 @@ START_TEST(test_ini_allowed_sections_wrong_regex)
errmsg = ini_errobj_get_msg(errobj);
ret = strcmp(errmsg,
"[rule/section_list]: Validator failed to use regex "
- "[^foo\\(*$]:[Unmatched ( or \\(]");
+ "[^foo\\(*$]:[Missing ')']");
if (ret !=0) {
ret = strcmp(errmsg,
"[rule/section_list]: Validator failed to use regex "
--- a/path_utils/path_utils.c
+++ b/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>