SOURCES: php4-curl.patch (NEW) - new
arekm
arekm at pld-linux.org
Sun Dec 3 16:00:23 CET 2006
Author: arekm Date: Sun Dec 3 15:00:23 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- new
---- Files affected:
SOURCES:
php4-curl.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/php4-curl.patch
diff -u /dev/null SOURCES/php4-curl.patch:1.1
--- /dev/null Sun Dec 3 16:00:23 2006
+++ SOURCES/php4-curl.patch Sun Dec 3 16:00:18 2006
@@ -0,0 +1,31 @@
+--- php/ext/curl/curl.c.org 2006-12-03 16:57:28.028994500 +0100
++++ php/ext/curl/curl.c 2006-12-03 16:58:44.241757500 +0100
+@@ -258,7 +258,9 @@
+ REGISTER_CURL_CONSTANT(CURLOPT_FTPAPPEND);
+ REGISTER_CURL_CONSTANT(CURLOPT_NETRC);
+ REGISTER_CURL_CONSTANT(CURLOPT_FOLLOWLOCATION);
++#if CURLOPT_FTPASCII != 0
+ REGISTER_CURL_CONSTANT(CURLOPT_FTPASCII);
++#endif
+ REGISTER_CURL_CONSTANT(CURLOPT_PUT);
+ #if CURLOPT_MUTE != 0
+ REGISTER_CURL_CONSTANT(CURLOPT_MUTE);
+@@ -296,7 +298,9 @@
+ REGISTER_CURL_CONSTANT(CURLOPT_FILETIME);
+ REGISTER_CURL_CONSTANT(CURLOPT_WRITEFUNCTION);
+ REGISTER_CURL_CONSTANT(CURLOPT_READFUNCTION);
++#if CURLOPT_PASSWDFUNCTION != 0
+ REGISTER_CURL_CONSTANT(CURLOPT_PASSWDFUNCTION);
++#endif
+ REGISTER_CURL_CONSTANT(CURLOPT_HEADERFUNCTION);
+ REGISTER_CURL_CONSTANT(CURLOPT_MAXREDIRS);
+ REGISTER_CURL_CONSTANT(CURLOPT_MAXCONNECTS);
+@@ -1092,7 +1096,7 @@
+ ch->handlers->write_header->func = *zvalue;
+ ch->handlers->write_header->method = PHP_CURL_USER;
+ break;
+-#if CURLOPT_PASSWDFUNCTION != 0
++#if CURLOPT_PASSWDFUNCTION != 0 && CURLOPT_PASSWDDATA != 0
+ case CURLOPT_PASSWDFUNCTION:
+ if (ch->handlers->passwd) {
+ zval_ptr_dtor(&ch->handlers->passwd);
================================================================
More information about the pld-cvs-commit
mailing list