• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/curlftpfs/0001-fix-CURLOPT_INFILESIZE.patch
Peter KorsgaardPeter Korsgaard committed 298cd8eaa2103 Feb 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
Borrowed from the curlftpfs_0.9.2-5 Debian package.
2
​
3
CURLOPT_INFILESIZE does not support -1 arg. This fix bug #556012.
4
--- curlftpfs-0.9.2/ftpfs.c.old 2009-12-13 14:12:25.000000000 +0100
5
+++ curlftpfs-0.9.2/ftpfs.c 2009-12-13 14:12:32.000000000 +0100
6
@@ -503,7 +503,6 @@
7
   
8
   curl_easy_setopt_or_die(fh->write_conn, CURLOPT_URL, fh->full_path);
9
   curl_easy_setopt_or_die(fh->write_conn, CURLOPT_UPLOAD, 1);
10
-  curl_easy_setopt_or_die(fh->write_conn, CURLOPT_INFILESIZE, -1);
11
   curl_easy_setopt_or_die(fh->write_conn, CURLOPT_READFUNCTION, write_data_bg);
12
   curl_easy_setopt_or_die(fh->write_conn, CURLOPT_READDATA, fh);
13
   curl_easy_setopt_or_die(fh->write_conn, CURLOPT_LOW_SPEED_LIMIT, 1);
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.