summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/curlftpfs/ioerror.patch
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2012-08-25 23:20:03 (GMT)
committerBritney Fransen <brfransen@gmail.com>2012-08-25 23:20:03 (GMT)
commit10e0cb3feaadc801927c021b62aba6dd5961d68b (patch)
tree5a46e51cd11e0b6e28f9374b63d936e28c97b7df /abs/extra/community/curlftpfs/ioerror.patch
parent15753e5fe3531b87bbabd21d6ac789b8847ad656 (diff)
downloadlinhes_pkgbuild-10e0cb3feaadc801927c021b62aba6dd5961d68b.zip
linhes_pkgbuild-10e0cb3feaadc801927c021b62aba6dd5961d68b.tar.gz
linhes_pkgbuild-10e0cb3feaadc801927c021b62aba6dd5961d68b.tar.bz2
curlftpfs: Initial Inclusion.
Diffstat (limited to 'abs/extra/community/curlftpfs/ioerror.patch')
-rw-r--r--abs/extra/community/curlftpfs/ioerror.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/extra/community/curlftpfs/ioerror.patch b/abs/extra/community/curlftpfs/ioerror.patch
new file mode 100644
index 0000000..6ca1afb
--- /dev/null
+++ b/abs/extra/community/curlftpfs/ioerror.patch
@@ -0,0 +1,11 @@
+--- curlftpfs-0.9.2.orig/ftpfs.c 2008-04-30 03:05:47.000000000 +0400
++++ curlftpfs-0.9.2.orig/ftpfs.c 2011-01-20 20:33:38.000000000 +0300
+@@ -503,7 +503,7 @@ static void *ftpfs_write_thread(void *da
+
+ 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);