tony2001                Tue Jun 26 11:04:56 2007 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src    NEWS 
    /php-src/ext/standard       dns.c 
  Log:
  MFH: fix #41795 (checkdnsrr does not support DNS_TXT type)
  patch by lucas at facebook dot com
  
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.800&r2=1.2027.2.547.2.801&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.800 php-src/NEWS:1.2027.2.547.2.801
--- php-src/NEWS:1.2027.2.547.2.800     Tue Jun 26 01:24:09 2007
+++ php-src/NEWS        Tue Jun 26 11:04:55 2007
@@ -36,6 +36,8 @@
 - Fixed PECL bug #11216 (crash in ZipArchive::addEmptyDir when a directory 
   already exists). (Pierre)
 
+- Fixed bug #41795 (checkdnsrr does not support DNS_TXT type). 
+  (lucas at facebook dot com, Tony)
 - Fixed bug #41773 (php_strip_whitespace() sends headers with errors 
   suppressed). (Tony)
 - Fixed bug #41765 (Recode crashes/does not work on amd64). 
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/dns.c?r1=1.70.2.7.2.4&r2=1.70.2.7.2.5&diff_format=u
Index: php-src/ext/standard/dns.c
diff -u php-src/ext/standard/dns.c:1.70.2.7.2.4 
php-src/ext/standard/dns.c:1.70.2.7.2.5
--- php-src/ext/standard/dns.c:1.70.2.7.2.4     Mon May 14 11:33:34 2007
+++ php-src/ext/standard/dns.c  Tue Jun 26 11:04:55 2007
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: dns.c,v 1.70.2.7.2.4 2007/05/14 11:33:34 tony2001 Exp $ */
+/* $Id: dns.c,v 1.70.2.7.2.5 2007/06/26 11:04:55 tony2001 Exp $ */
 
 /* {{{ includes */
 #include "php.h"
@@ -289,6 +289,7 @@
                        else if (!strcasecmp("PTR",   Z_STRVAL_PP(arg2))) type 
= DNS_T_PTR;
                        else if (!strcasecmp("ANY",   Z_STRVAL_PP(arg2))) type 
= DNS_T_ANY;
                        else if (!strcasecmp("SOA",   Z_STRVAL_PP(arg2))) type 
= DNS_T_SOA;
+                       else if (!strcasecmp("TXT",   Z_STRVAL_PP(arg2))) type 
= DNS_T_TXT;
                        else if (!strcasecmp("CNAME", Z_STRVAL_PP(arg2))) type 
= DNS_T_CNAME;
                        else if (!strcasecmp("AAAA",  Z_STRVAL_PP(arg2))) type 
= DNS_T_AAAA;
                        else if (!strcasecmp("SRV",   Z_STRVAL_PP(arg2))) type 
= DNS_T_SRV;

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

Reply via email to