Bug 174556 - Running 'curl-config --vernum' prints no output
Summary: Running 'curl-config --vernum' prints no output
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: curl
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ivana Varekova
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-11-29 23:48 UTC by Art Haas
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-12-02 08:16:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Art Haas 2005-11-29 23:48:48 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20051129 Firefox/1.6a1

Description of problem:
The 'curl-config' program produces no output when option '--vernum' is used. The program itself is a shell script, so a quick examination revealed that the 'vernum' bits of code in the 'case' block that handles the various options was missing the version information in the 'echo' statement that prints out the desired value. The fix is to add in the version info, and in the case of 'vernum' it is a hex value.

Before:

--vernum)
         echo
         exit 0
         ;;

After adding the version as hex:

--vernum)
        echo 070f00
        exit 0
        ;;

Things worked fine. As 'curl-config' is probably a generated file the problem may be a configuration problem during the build of the curl libraries.

Version-Release number of selected component (if applicable):
curl-devel-7.15.0-2

How reproducible:
Always

Steps to Reproduce:
1. curl-config --vernum
2.
3.
  

Actual Results:  No output.

Expected Results:  A hex value should be printed, like '070f00'.

Additional info:

See the description above for the fix. The change is trivial.

Comment 1 Ivana Varekova 2005-12-02 08:16:42 UTC
Thank you for your bug report, this problem should be fixed in the last version
(curl-7.15.0-3). If there is any problem, please reopen this bug.


Note You need to log in before you can comment on or make changes to this bug.