Description of problem: file_upload() function opens and closes the destination file twice. It causes two occurences of IN_CLOSE_WRITE inotify event. Version-Release number of selected component (if applicable): curl-7.24.0-4.fc17.src.rpm How reproducible: always Steps to Reproduce: 1. curl file:///tmp/testfile -T /etc/hosts Actual results: curl opens and closes the destination file twice Expected results: curl opens and closes destination file only once Additional info: source: lib/file.c line: 354
upstream commit: https://github.com/bagder/curl/commit/1f8518c
fixed in curl-7.27.0-2.fc18
curl-7.24.0-5.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/curl-7.24.0-5.fc17
Package curl-7.24.0-5.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing curl-7.24.0-5.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-11375/curl-7.24.0-5.fc17 then log in and leave karma (feedback).
curl-7.24.0-5.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.