diff options
Diffstat (limited to 'system/curlftpfs/patches/curlftpfs-0.9.2-offset_64_another.patch')
-rw-r--r-- | system/curlftpfs/patches/curlftpfs-0.9.2-offset_64_another.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/system/curlftpfs/patches/curlftpfs-0.9.2-offset_64_another.patch b/system/curlftpfs/patches/curlftpfs-0.9.2-offset_64_another.patch new file mode 100644 index 0000000000..f3d85df32b --- /dev/null +++ b/system/curlftpfs/patches/curlftpfs-0.9.2-offset_64_another.patch @@ -0,0 +1,21 @@ +@@ -, +, @@ + ftpfs.c | 4 2 + 2 - 0 ! + 1 file changed, 2 insertions(+), 2 deletions(-) +--- b/ftpfs.c ++++ b/ftpfs.c +@@ -503,7 +503,6 @@ static void *ftpfs_write_thread(void *da + + curl_easy_setopt_or_die(fh->write_conn, CURLOPT_URL, full_path_uri); + 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); +@@ -645,7 +645,6 @@ static int create_empty_file(const char + pthread_mutex_lock(&ftpfs.lock); + cancel_previous_multi(); + curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_URL, full_path_uri); +- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_INFILESIZE, 0); + curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_UPLOAD, 1); + curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_READDATA, NULL); + CURLcode curl_res = curl_easy_perform(ftpfs.connection); |