Description of problem: libcurl was backported/updated to support credential delegation. The curl binary itself appears to be missing the flag entirely. Version-Release number of selected component (if applicable): curl-7.15.5-9.el5_7.4 How reproducible: 100% Steps to Reproduce: 1. curl --delegation 2. curl: option --delegation: is unknown Actual results: curl --delegation curl: option --delegation: is unknown Expected results: curl --delegation curl: option --delegation: requires parameter Additional info:
This is known issue. We already track an el6 sibling of this bug: bug 730445
Created attachment 530452 [details] backport of upstream commits 5538904 and 8bd877d
Comment on attachment 530452 [details] backport of upstream commits 5538904 and 8bd877d Looks sane, the only thing I was worried about was if the warnf is handling char * str correctly. I found one strange thing in the function though - two va_start(ap, fmt); calls ... however, this is not coming from your patch (and is fixed in Fedora).
Good catch. This was fixed in the following upstream commit: https://github.com/bagder/curl/commit/c0f3e32 ... but I did not find any problems resulting from this mistake reported on the upstream mailing list. I am not sure whether it should be fixed with this bug since it has wider scope than the --delegation option of curl. Do you have any preferences on that?
I think we could keep it there as it is - it seems to be harmless - and has no connection with your patch.
Then I will apply the current version of the patch. Thanks for review!
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0241.html