Skip to content

Commit 8da94cf

Browse files
committed
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2: Fix GH-15565: --disable-ipv6 during compilation produces error EAI_SYSTEM not found
2 parents 8a00faa + 4b6575a commit 8da94cf

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

NEWS

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ PHP NEWS
77
(zeriyoshi)
88
. Fixed bug GH-15515 (Configure error grep illegal option q). (Peter Kokot)
99
. Fixed bug GH-15514 (Configure error: genif.sh: syntax error). (Peter Kokot)
10+
. Fixed bug GH-15565 (--disable-ipv6 during compilation produces error
11+
EAI_SYSTEM not found). (nielsdos)
1012

1113
- DOM:
1214
. Fixed bug GH-15551 (Segmentation fault (access null pointer) in

main/network.c

+2
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,9 @@ static const char *php_gai_strerror(int code)
118118
{EAI_NONAME, "Name or service not known"},
119119
{EAI_SERVICE, "Servname not supported for ai_socktype"},
120120
{EAI_SOCKTYPE, "ai_socktype not supported"},
121+
# ifdef EAI_SYSTEM
121122
{EAI_SYSTEM, "System error"},
123+
# endif
122124
{0, NULL}
123125
};
124126
int i;

0 commit comments

Comments
 (0)