Re: large file changes on win32
Date: Wed, 25 Feb 2004 13:02:56 +0100 (CET)
On Tue, 24 Feb 2004, Greg Hewgill wrote:
> I'm using curl-7.11.1-20040224 on win32, and am working on large file
> support. When using PUT on a file that is >2GB, the Content-Length is not
> formatted correctly (it's interpreted as a 32-bit signed number). I tracked
> this down to the mprintf.c module. Attached is a patch that fixes this. This
> may not be the best way to address this problem, since it uses the MSVC
> preprocessor variable "_MSC_VER" instead of using a HAVE_xxxx capability
> macro, but I'll let those more familiar with the code base decide on the
> best approach.
Many thanks for the report, research and fix.
I suggest we make this slightly different, see the attached file! I hope this
still works as supposed?
-- Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/ [[ Do not send mails to this email address. They won't reach me. ]]
- TEXT/PLAIN attachment: largefilewin.patch