* [gentoo-commits] gentoo-x86 commit in net-fs/curlftpfs/files: curlftpfs-0.9.2-64bit_filesize.patch
@ 2009-12-10 22:07 Christian Faulhammer (fauli)
0 siblings, 0 replies; only message in thread
From: Christian Faulhammer (fauli) @ 2009-12-10 22:07 UTC (permalink / raw
To: gentoo-commits
fauli 09/12/10 22:07:32
Added: curlftpfs-0.9.2-64bit_filesize.patch
Log:
fix net write problems on 64bit architectures. Patch found by Semen Maryasin <marsoft AT ya DOT ru> and reported in bug 294960
(Portage version: 2.1.6.13/cvs/Linux i686)
Revision Changes Path
1.1 net-fs/curlftpfs/files/curlftpfs-0.9.2-64bit_filesize.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/curlftpfs/files/curlftpfs-0.9.2-64bit_filesize.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/curlftpfs/files/curlftpfs-0.9.2-64bit_filesize.patch?rev=1.1&content-type=text/plain
Index: curlftpfs-0.9.2-64bit_filesize.patch
===================================================================
--- ftpfs.c.old 2009-11-28 14:28:05.000000000 +0300
+++ ftpfs.c 2009-11-28 14:28:19.000000000 +0300
@@ -503,7 +503,7 @@
curl_easy_setopt_or_die(fh->write_conn, CURLOPT_URL, fh->full_path);
curl_easy_setopt_or_die(fh->write_conn, CURLOPT_UPLOAD, 1);
- curl_easy_setopt_or_die(fh->write_conn, CURLOPT_INFILESIZE, -1);
+ curl_easy_setopt_or_die(fh->write_conn, CURLOPT_INFILESIZE, (curl_off_t)-1);
curl_easy_setopt_or_die(fh->write_conn, CURLOPT_READFUNCTION, write_data_bg);
curl_easy_setopt_or_die(fh->write_conn, CURLOPT_READDATA, fh);
curl_easy_setopt_or_die(fh->write_conn, CURLOPT_LOW_SPEED_LIMIT, 1);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-12-10 22:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-10 22:07 [gentoo-commits] gentoo-x86 commit in net-fs/curlftpfs/files: curlftpfs-0.9.2-64bit_filesize.patch Christian Faulhammer (fauli)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox