1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-12 18:59:50 +03:00
aports/community/ding-libs/musl-fixes.patch
2025-03-05 08:37:21 +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>