Commit: 1d6a1fb5c87bc60fd0def2e2d32a2c4f4ad15fc0 Author: Stanislav Malyshev <s...@php.net> Sun, 28 Apr 2013 22:25:40 -0700 Parents: efe8f3f74de6f587edb2a73e18a7399ac41b5836 Branches: PHP-5.4.15
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1d6a1fb5c87bc60fd0def2e2d32a2c4f4ad15fc0 Log: Revert "Add CURL_WRAPPERS_ENABLE constant" This reverts commit d7f709a032a40cb475042b43db07a4698a2488b7. Since wrappers are deleted from 5.5, no point in adding this constant. Changed paths: M NEWS M ext/curl/interface.c Diff: diff --git a/NEWS b/NEWS index 622bb53..cc639d8 100644 --- a/NEWS +++ b/NEWS @@ -9,9 +9,6 @@ PHP NEWS response codes). (Sergey Akbarov) . Fixed bugs #47675 and #64577 (fd leak on Solaris) -- CURL: - . Add CURL_WRAPPERS_ENABLED constant. (Laruence) - - Fileinfo: . Upgraded libmagic to 5.14. (Anatol) diff --git a/ext/curl/interface.c b/ext/curl/interface.c index 1f29e92..531f15b 100644 --- a/ext/curl/interface.c +++ b/ext/curl/interface.c @@ -914,7 +914,6 @@ PHP_MINIT_FUNCTION(curl) } #ifdef PHP_CURL_URL_WRAPPERS - REGISTER_LONG_CONSTANT("CURL_WRAPPERS_ENABLED", 1, CONST_CS | CONST_PERSISTENT); # if HAVE_CURL_VERSION_INFO { curl_version_info_data *info = curl_version_info(CURLVERSION_NOW); @@ -941,8 +940,6 @@ PHP_MINIT_FUNCTION(curl) php_unregister_url_stream_wrapper("ldap"); php_register_url_stream_wrapper("ldap", &php_curl_wrapper TSRMLS_CC); # endif -#else - REGISTER_LONG_CONSTANT("CURL_WRAPPERS_ENABLED", 0, CONST_CS | CONST_PERSISTENT); #endif return SUCCESS; -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php