qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2] Remove the extra -lrt switch


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v2] Remove the extra -lrt switch
Date: Fri, 27 Apr 2012 16:27:48 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1

On 04/27/2012 04:16 PM, Peter Maydell wrote:
> On 27 April 2012 22:55, Eric Blake <address@hidden> wrote:
>> Shorter (and probably faster) to write this as:
>>
>> add_to_libs() {
>>  case " $LIBS " in
>>    " $1 ") ;;
>>    *) LIBS="$1 $LIBS" ;;
>>  esac
>> }
> 
> ...doesn't that need to be
>      *" $1 "*) ;;

Yep; that's what I get for typing without testing.

-- 
Eric Blake   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]