svn: /php/php-src/ branches/PHP_5_2/ext/curl/interface.c branches/PHP_5_3/ext/curl/interface.c trunk/ext/curl/interface.c
| From: | Felipe Pena | Date: | Sun, 26 Jul 2009 23:44:59 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_2/ext/curl/interface.c branches/PHP_5_3/ext/curl/interface.c trunk/ext/curl/interface.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-59848@lists.php.net to get a copy of this message | ||
felipe Sun, 26 Jul 2009 23:44:59 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=286381
Log:
- Fix ZTS build
Changed paths:
U php/php-src/branches/PHP_5_2/ext/curl/interface.c
U php/php-src/branches/PHP_5_3/ext/curl/interface.c
U php/php-src/trunk/ext/curl/interface.c
Modified: php/php-src/branches/PHP_5_2/ext/curl/interface.c
===================================================================
--- php/php-src/branches/PHP_5_2/ext/curl/interface.c 2009-07-26 23:22:27 UTC (rev 286380)
+++ php/php-src/branches/PHP_5_2/ext/curl/interface.c 2009-07-26 23:44:59 UTC (rev 286381)
@@ -698,7 +698,7 @@
while (*p != NULL) {
/* Do not enable cURL "file" protocol and make sure cURL is always used when
--with-curlwrappers is enabled */
if (strncasecmp(*p, "file", sizeof("file")-1) != 0) {
- php_unregister_url_stream_wrapper(*p);
+ php_unregister_url_stream_wrapper(*p TSRMLS_CC);
php_register_url_stream_wrapper(*p, &php_curl_wrapper TSRMLS_CC);
}
(void) *p++;
Modified: php/php-src/branches/PHP_5_3/ext/curl/interface.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/curl/interface.c 2009-07-26 23:22:27 UTC (rev 286380)
+++ php/php-src/branches/PHP_5_3/ext/curl/interface.c 2009-07-26 23:44:59 UTC (rev 286381)
@@ -820,7 +820,7 @@
while (*p != NULL) {
/* Do not enable cURL "file" protocol and make sure cURL is always used when
--with-curlwrappers is enabled */
if (strncasecmp(*p, "file", sizeof("file")-1) != 0) {
- php_unregister_url_stream_wrapper(*p);
+ php_unregister_url_stream_wrapper(*p TSRMLS_CC);
php_register_url_stream_wrapper(*p, &php_curl_wrapper TSRMLS_CC);
}
(void) *p++;
Modified: php/php-src/trunk/ext/curl/interface.c
===================================================================
--- php/php-src/trunk/ext/curl/interface.c 2009-07-26 23:22:27 UTC (rev 286380)
+++ php/php-src/trunk/ext/curl/interface.c 2009-07-26 23:44:59 UTC (rev 286381)
@@ -820,7 +820,7 @@
while (*p != NULL) {
/* Do not enable cURL "file" protocol and make sure cURL is always used when
--with-curlwrappers is enabled */
if (strncasecmp(*p, "file", sizeof("file")-1) != 0) {
- php_unregister_url_stream_wrapper(*p);
+ php_unregister_url_stream_wrapper(*p TSRMLS_CC);
php_register_url_stream_wrapper(*p, &php_curl_wrapper TSRMLS_CC);
}
(void) *p++;