tags 410360 + pending upstream
stop
On Tue, Feb 13, 2007 at 04:48:03PM -0800, gary ng wrote:
> Sorry for the second message.
>
> I need to retract the previous one saying that the
> change fixed the problem. Unfortunately, it doesn't.
I think I got the problem.
The attached patch plus the previous one should fix it.
Please, give it a try.
--
Enrico Tassi
Index: lua-curl.c
===================================================================
--- lua-curl.c (revision 169)
+++ lua-curl.c (revision 304)
@@ -12,6 +12,7 @@
- binds from 7.9.5 to 7.11.2
changelog:
+ - fixed large file support
- added a Makefile based on libtool as suggested in the debin
package of lua5.1
- first public release
@@ -819,9 +820,6 @@
case CURLOPT_PUT:
case CURLOPT_POST:
case CURLOPT_POSTFIELDSIZE:
-#if CURL_NEWER(7,11,1)
- case CURLOPT_POSTFIELDSIZE_LARGE:
-#endif
#if CURL_NEWER(7,9,7)
case CURLOPT_COOKIESESSION:
#endif
@@ -843,6 +841,7 @@
#if CURL_NEWER(7,11,1)
/* curl_off_t */
+ case CURLOPT_POSTFIELDSIZE_LARGE:
case CURLOPT_RESUME_FROM_LARGE:
case CURLOPT_INFILESIZE_LARGE:
case CURLOPT_MAXFILESIZE_LARGE:{