cvs: pecl /http http.c missing.h package2.xml

From: Date: Sun, 12 Mar 2006 18:05:20 +0000
Subject: cvs: pecl /http http.c missing.h package2.xml
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-5429@lists.php.net to get a copy of this message
mike Sun Mar 12 18:05:20 2006 UTC Modified files: /pecl/http http.c missing.h package2.xml Log: - fix php-4 build http://cvs.php.net/viewcvs.cgi/pecl/http/http.c?r1=1.162&r2=1.163&diff_format=u Index: pecl/http/http.c diff -u pecl/http/http.c:1.162 pecl/http/http.c:1.163 --- pecl/http/http.c:1.162 Fri Mar 3 16:06:02 2006 +++ pecl/http/http.c Sun Mar 12 18:05:20 2006 @@ -10,7 +10,7 @@ +--------------------------------------------------------------------+ */ -/* $Id: http.c,v 1.162 2006/03/03 16:06:02 mike Exp $ */ +/* $Id: http.c,v 1.163 2006/03/12 18:05:20 mike Exp $ */ #define HTTP_WANT_SAPI #define HTTP_WANT_CURL @@ -71,7 +71,7 @@ PHP_FE(http_build_url, http_arg_pass_ref_4) PHP_FE(http_build_str, NULL) #ifndef ZEND_ENGINE_2 - PHP_FALIAS(http_build_query, http_build_str) + PHP_FALIAS(http_build_query, http_build_str, NULL) #endif PHP_FE(http_negotiate_language, http_arg_pass_ref_2) PHP_FE(http_negotiate_charset, http_arg_pass_ref_2) http://cvs.php.net/viewcvs.cgi/pecl/http/missing.h?r1=1.11&r2=1.12&diff_format=u Index: pecl/http/missing.h diff -u pecl/http/missing.h:1.11 pecl/http/missing.h:1.12 --- pecl/http/missing.h:1.11 Mon Jan 2 15:36:58 2006 +++ pecl/http/missing.h Sun Mar 12 18:05:20 2006 @@ -10,13 +10,17 @@ +--------------------------------------------------------------------+ */ -/* $Id: missing.h,v 1.11 2006/01/02 15:36:58 mike Exp $ */ +/* $Id: missing.h,v 1.12 2006/03/12 18:05:20 mike Exp $ */ #ifndef PHP_HTTP_MISSING #define PHP_HTTP_MISSING #include "php_version.h" +#ifndef pemalloc_rel +# define pemalloc_rel(size, persistent) ((persistent)?malloc(size):emalloc_rel(size)) +#endif + #if (PHP_MAJOR_VERSION == 5) && (PHP_MINOR_VERSION == 0) # define WONKY #endif http://cvs.php.net/viewcvs.cgi/pecl/http/package2.xml?r1=1.75&r2=1.76&diff_format=u Index: pecl/http/package2.xml diff -u pecl/http/package2.xml:1.75 pecl/http/package2.xml:1.76 --- pecl/http/package2.xml:1.75 Wed Mar 8 21:52:55 2006 +++ pecl/http/package2.xml Sun Mar 12 18:05:20 2006 @@ -48,6 +48,7 @@ <notes><![CDATA[ * Fixed possible crash in HttpQueryString if the SAPI does not have a treat_data function registered. * Fixed http_build_str() to urlencode brackets ("[]"). +* Fixed PHP-4 build. ]]></notes> <contents> <dir name="/">

« previous php.pecl.cvs (#5429) next »