On Sat, Apr 07, 2007 at 04:03:20PM +0200, Lars Ebeling said:
> "Stephen Gran" <[EMAIL PROTECTED]>
> 
> >Is bc doing something stupid?
> 
> >What is the output of the following commands?
> 
> >Mine, for comparison.
> >[EMAIL PROTECTED]:~$ curl-config --version
> >libcurl 7.15.5
> >[EMAIL PROTECTED]:~$ curl-config --vernum | tr 'a-f' 'A-F'
> >070F05
> >[EMAIL PROTECTED]:~$ (vers=`curl-config --vernum | tr 'a-f' 'A-F'`; echo 
> >"ibase=16; if($vers<070A00) 1" | bc)
> >[EMAIL PROTECTED]:~$
> 
> # curl-config --version
> libcurl 7.15.0
> 
> The rest gives nothing:
> 
> # curl-config --vernum
> #

That looks like the problem to me.  Null is certainly less than 070F05.
I suggest discussing this with the curl people or your distribution and
finding out why this broke for no good reason.  Or, since it's clearly
fixed in a later version, just upgrade curl.
-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | Do you think that illiterate people get |
|  [EMAIL PROTECTED]             | the full effect of alphabet soup?       |
|  http://www.lobefin.net/~steve |                                         |
 --------------------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to