summaryrefslogtreecommitdiffstats
path: root/package/curlftpfs/curlftpfs-000-fix-CURLOPT_INFILESIZE.patch
diff options
context:
space:
mode:
authorRichard Braun <rbraun@>2012-10-30 03:35:19 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-01-14 22:31:31 +0100
commit72df08ee45dbe32e90eecdb763cdb98c6dd59e99 (patch)
treee28c2af86090279c5d5d86f6067cfe3adaf91618 /package/curlftpfs/curlftpfs-000-fix-CURLOPT_INFILESIZE.patch
parentd671715c109eb3c237ed925d5a0971d2eae89362 (diff)
downloadbuildroot-72df08ee45dbe32e90eecdb763cdb98c6dd59e99.tar.gz
buildroot-72df08ee45dbe32e90eecdb763cdb98c6dd59e99.zip
curlftpfs: new package
[Peter: updated with BR changes, Config.in tweaks, dropped configure.ac patch] Signed-off-by: Richard Braun <rbraun@...> Signed-off-by: Alexander Varnin <fenixk19@mail.ru> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/curlftpfs/curlftpfs-000-fix-CURLOPT_INFILESIZE.patch')
-rw-r--r--package/curlftpfs/curlftpfs-000-fix-CURLOPT_INFILESIZE.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/curlftpfs/curlftpfs-000-fix-CURLOPT_INFILESIZE.patch b/package/curlftpfs/curlftpfs-000-fix-CURLOPT_INFILESIZE.patch
new file mode 100644
index 0000000000..dc83af010b
--- /dev/null
+++ b/package/curlftpfs/curlftpfs-000-fix-CURLOPT_INFILESIZE.patch
@@ -0,0 +1,13 @@
+Borrowed from the curlftpfs_0.9.2-5 Debian package.
+
+CURLOPT_INFILESIZE does not support -1 arg. This fix bug #556012.
+--- curlftpfs-0.9.2/ftpfs.c.old 2009-12-13 14:12:25.000000000 +0100
++++ curlftpfs-0.9.2/ftpfs.c 2009-12-13 14:12:32.000000000 +0100
+@@ -503,7 +503,6 @@
+
+ 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_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);
OpenPOWER on IntegriCloud