]> git.pld-linux.org Git - packages/c-ares.git/blame - c-ares-resolv.conf-reading-is-not-fatal.patch
up to 1.21.0
[packages/c-ares.git] / c-ares-resolv.conf-reading-is-not-fatal.patch
CommitLineData
6625f4ed
JP
1--- c-ares-1.21.0/src/lib/ares_init.c.orig 2023-10-27 19:28:18.116859697 +0200
2+++ c-ares-1.21.0/src/lib/ares_init.c 2023-10-27 19:31:32.347894291 +0200
3@@ -1516,6 +1516,7 @@
4 switch (error) {
5122b158
ER
5 case ENOENT:
6 case ESRCH:
7+ case EACCES:
6625f4ed 8 status = ARES_EOF;
5122b158
ER
9 break;
10 default:
6625f4ed
JP
11@@ -1542,6 +1543,7 @@
12 switch (error) {
13 case ENOENT:
14 case ESRCH:
15+ case EACCES:
16 break;
17 default:
18 DEBUGF(fprintf(stderr, "fopen() failed with error: %d %s\n", error,
19@@ -1572,6 +1574,7 @@
20 switch (error) {
21 case ENOENT:
22 case ESRCH:
23+ case EACCES:
24 break;
25 default:
26 DEBUGF(fprintf(stderr, "fopen() failed with error: %d %s\n", error,
27@@ -1602,6 +1605,7 @@
28 switch (error) {
29 case ENOENT:
30 case ESRCH:
31+ case EACCES:
32 break;
33 default:
34 DEBUGF(fprintf(stderr, "fopen() failed with error: %d %s\n", error,
This page took 0.524949 seconds and 4 git commands to generate.