Bug #51257 [Opn->Csd]: CURL_VERSION_LARGEFILE incorrectly used after libcurl version 7.10.1
| From: | felipe@php.net | Date: | Wed, 10 Mar 2010 23:00:21 +0000 |
| Subject: | Bug #51257 [Opn->Csd]: CURL_VERSION_LARGEFILE incorrectly used after libcurl version 7.10.1 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-148493@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51257&edit=1
ID: 51257
Updated by: felipe@php.net
Reported by: aron dot ujvari at microsec dot hu
Summary: CURL_VERSION_LARGEFILE incorrectly used after libcurl
version 7.10.1
-Status: Open
+Status: Closed
Type: Bug
Package: cURL related
Operating System: Linux
PHP Version: 5.3.2
-Assigned To:
+Assigned To: felipe
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Thanks for the patch.
Previous Comments:
------------------------------------------------------------------------
[2010-03-10 23:58:48] felipe@php.net
Automatic comment from SVN on behalf of felipe
Revision: http://svn.php.net/viewvc/?view=revision&revision=296048
Log: - Fixed bug #51257 (CURL_VERSION_LARGEFILE incorrectly used after
libcurl version 7.10.1)
patch by: aron dot ujvari at microsec dot hu
------------------------------------------------------------------------
[2010-03-10 12:37:22] aron dot ujvari at microsec dot hu
Description:
------------
In ext/curl/interface.c:
#if LIBCURL_VERSION_NUM > 0x070a09 /* 7.10.1 */
{"Largefile", CURL_VERSION_LARGEFILE},
#endif
According to libcurl documentation
(http://curl.haxx.se/libcurl/c/curl_version_info.html this symbol) it
exists just after version 7.11.1 and not 7.10.1:
CURL_VERSION_LARGEFILE
libcurl was built with support for large files. (Added in 7.11.1)
If you have libcurl version between 7.10.1 and 7.11.1 (in SLES9 for
example) your build will fail since not CURL_VERSION_LARGEFILE symbol
exists in libcurl but tried to used by PHP curl extension.
Patch file resolves this problem attached.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51257&edit=1