bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] warnings: Add gl_WARN_COMPLEMENT and gl_WARN_SUPPORTED.


From: Paolo Bonzini
Subject: Re: [PATCH] warnings: Add gl_WARN_COMPLEMENT and gl_WARN_SUPPORTED.
Date: Mon, 17 Nov 2008 22:42:24 +0100
User-agent: Thunderbird 2.0.0.17 (Macintosh/20080914)

Paolo Bonzini wrote:
>> +# does OUTVAR = LISTVAR \ REMOVEVAR.
>> +AC_DEFUN([gl_WARN_COMPLEMENT],
>> +[
>> +  FOO=
> 
> FOO? gl_new_list at the very least.
> 
>> +  set -- "$2"
> 
> set args $2; shift
> 
>> +  for w in $_; do

Forgot one:

for w in "$@"; do

>> +    case "$3" in
>> +      *" $w "* | *" $w" | "$w "*)
> 
> case " $3 " in
>    *" $w "*) ;;
> 
> Paolo
> 
> 
> 





reply via email to

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