wez             Sat Sep 25 21:17:44 2004 EDT

  Modified files:              (Branch: PHP_4_3)
    /php-src    NEWS configure.in 
  Log:
  MFH: fix for #30057
  
  
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1247.2.733&r2=1.1247.2.734&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1247.2.733 php-src/NEWS:1.1247.2.734
--- php-src/NEWS:1.1247.2.733   Fri Sep 24 18:00:47 2004
+++ php-src/NEWS        Sat Sep 25 21:17:41 2004
@@ -3,6 +3,7 @@
 ?? ??? 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)
http://cvs.php.net/diff.php/php-src/configure.in?r1=1.396.2.128&r2=1.396.2.129&ty=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.396.2.128 php-src/configure.in:1.396.2.129
--- php-src/configure.in:1.396.2.128    Tue Sep 21 19:38:55 2004
+++ php-src/configure.in        Sat Sep 25 21:17:42 2004
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.396.2.128 2004/09/21 23:38:55 iliaa Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.396.2.129 2004/09/26 01:17:42 wez Exp $ -*- sh -*-
 dnl ## Process this file with autoconf to produce a configure script.
 
 divert(1)
@@ -528,17 +528,20 @@
   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);
   }
 

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to