?? ??? 2004, Version 4.3.10
- Backported Marcus' foreach() speedup patch from PHP 5.x. (Derick)
- Fixed potential problems with unserializing invalid serialize data. (Marcus)
+- Fixed bug #30057 (did not detect IPV6 on FreeBSD 4.1). (Wez)
- Fixed bug #29805 (HTTP Authentication Issues). (Uwe Schindler)
- Fixed bug #28325 (Circular references not properly serialised). (Moriyoshi)
- Fixed bug #27469 (serialize() objects of incomplete class). (Dmitry)
AC_TRY_RUN([
#include <netdb.h>
#include <sys/types.h>
+#ifndef AF_INET
+# include <sys/socket.h>
+#endif
int main(void) {
struct addrinfo *ai, *pai, hints;
memset(&hints, 0, sizeof(hints));
hints.ai_flags = AI_NUMERICHOST;
- if (getaddrinfo("127.0.0.1", NULL, &hints, &ai) < 0) {
+ if (getaddrinfo("127.0.0.1", 0, &hints, &ai) < 0) {
exit(1);
}
- if (ai == NULL) {
+ if (ai == 0) {
exit(1);
}