iliaa           Mon Mar 30 19:59:08 2009 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/main       spprintf.c 
    /php-src    NEWS 
  Log:
  
  Fixed bug #47831 (Compile warning for strnlen() in main/spprintf.c)
  
  # Patch by rainer\ dot\ jung\ at\ kippdata\ dot\ de
  
http://cvs.php.net/viewvc.cgi/php-src/main/spprintf.c?r1=1.25.2.2.2.15&r2=1.25.2.2.2.16&diff_format=u
Index: php-src/main/spprintf.c
diff -u php-src/main/spprintf.c:1.25.2.2.2.15 
php-src/main/spprintf.c:1.25.2.2.2.16
--- php-src/main/spprintf.c:1.25.2.2.2.15       Wed Feb  4 15:03:12 2009
+++ php-src/main/spprintf.c     Mon Mar 30 19:59:07 2009
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: spprintf.c,v 1.25.2.2.2.15 2009/02/04 15:03:12 iliaa Exp $ */
+/* $Id: spprintf.c,v 1.25.2.2.2.16 2009/03/30 19:59:07 iliaa Exp $ */
 
 /* This is the spprintf implementation.
  * It has emerged from apache snprintf. See original header:
@@ -76,6 +76,7 @@
  * SIO stdio-replacement strx_* functions by Panos Tsirigotis
  * <pa...@alumni.cs.colorado.edu> for xinetd.
  */
+#define _GNU_SOURCE
 #include "php.h"
 
 #include <stddef.h>
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1453&r2=1.2027.2.547.2.1454&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.1453 php-src/NEWS:1.2027.2.547.2.1454
--- php-src/NEWS:1.2027.2.547.2.1453    Mon Mar 30 18:05:42 2009
+++ php-src/NEWS        Mon Mar 30 19:59:08 2009
@@ -1,4 +1,4 @@
-PHP                                                                        
NEWS
+PHP                                                                        NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? ??? 2009, PHP 5.2.10
 - Added new CURL options CURLOPT_REDIR_PROTOCOLS, CURLOPT_PROTOCOLS,
@@ -7,6 +7,8 @@
 - Fixed memory corruptions while reading properties of zip files. (Ilia)
 - Fixed memory leak in ob_get_clean/ob_get_flush. (Christian)
 
+- Fixed bug #47831 (Compile warning for strnlen() in main/spprintf.c).
+  (Ilia, rainer dot jung at kippdata dot de)
 - Fixed bug #47828 (openssl_x509_parse() segfaults when a UTF-8 conversion
   fails). (Scott, Kees Cook, Pierre)
 - Fixed bug #47769 (Strange extends PDO). (Felipe)



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

Reply via email to